
CVE catalog
CVE-2023-53791
linux: CVE-2023-53791
- Severity
- Medium · CVSS 5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.18% · Oct 27, 2026
In the Linux kernel, the following vulnerability has been resolved: md: fix warning for holder mismatch from export_rdev() Commit a1d767191096 ("md: use mddev->external to select holder in export_rdev()") fix the problem that 'claim_rdev' is used for blkdev_get_by_dev() while 'rdev' is used for blkdev_put(). However, if mddev->external is changed from 0 to 1, then 'rdev' is used for blkdev_get_by_dev() while 'claim_rdev' is used for blkdev_put(). And this problem can be reporduced reliably by following: New file: mdadm/tests/23rdev-lifetime devname=${dev0##*/} devt=`cat /sys/block/$devname/dev` pid="" runtime=2 clean_up_test() { pill -9 $pid echo clear > /sys/block/md0/md/array_state } trap 'clean_up_test' EXIT add_by_sysfs() { while true; do echo $devt > /sys/block/md0/md/new_dev done } remove_by_sysfs(){ while true; do echo remove > /sys/block/md0/md/dev-${devname}/state done } echo md0 > /sys/module/md_mod/parameters/new_array || die "create md0 failed" add_by_sysfs & pid="$pid $!" remove_by_sysfs & pid="$pid $!" sleep $runtime exit 0 Test cmd: ./test --save-logs --logdir=/tmp/ --keep-going --dev=loop --tests=23rdev-lifetime Test result: ------------[ cut here ]------------ WARNING: CPU: 0 PID: 960 at block/bdev.c:618 blkdev_put+0x27c/0x330 Modules linked in: multipath md_mod loop CPU: 0 PID: 960 Comm: test Not tainted 6.5.0-rc2-00121-g01e55c376936-dirty #50 RIP: 0010:blkdev_put+0x27c/0x330 Call Trace: <TASK> export_rdev.isra.23+0x50/0xa0 [md_mod] mddev_unlock+0x19d/0x300 [md_mod] rdev_attr_store+0xec/0x190 [md_mod] sysfs_kf_write+0x52/0x70 kernfs_fop_write_iter+0x19a/0x2a0 vfs_write+0x3b5/0x770 ksys_write+0x74/0x150 __x64_sys_write+0x22/0x30 do_syscall_64+0x40/0x90 entry_SYSCALL_64_after_hwframe+0x63/0xcd Fix the problem by recording if 'rdev' is used as holder.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | linux | sid | 7.2.13-1 | fixed |
| Debian | linux | forky | 7.2.12-1 | fixed |
| Debian | linux | trixie | 6.12.107-1 | fixed |
| Debian | linux | trixie-security | 6.12.113-1 | fixed |
| Debian | linux | bookworm | 6.1.176-1 | not affected |
| Debian | linux | bookworm-security | 6.1.190-1 | not affected |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | linux | source | sid | 6.5.6-1 | not yet assigned | Not reported | Not reported |
| Debian | linux | source | forky | 6.5.6-1 | not yet assigned | Not reported | Not reported |
| Debian | linux | source | trixie | 6.5.6-1 | not yet assigned | Not reported | Not reported |
| Debian | linux | source | bookworm | Not affected | unimportant | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [bpftool]Not affected
Source package: [linux]
Details (6)
7.1.0+6.1.176-1· amd64 · bookwormNot affected
dsa · linux · debian · bookworm
7.1.0+6.1.176-1· arm64 · bookwormNot affected
dsa · linux · debian · bookworm
7.5.0+6.12.95-1~bpo12+1· amd64 · bookworm-backportsNot affected
dsa · linux · debian · bookworm
7.5.0+6.12.95-1~bpo12+1· arm64 · bookworm-backportsNot affected
dsa · linux · debian · bookworm
7.1.0+6.1.180-1· amd64 · bookworm-securityNot affected
dsa · linux · debian · bookworm
7.1.0+6.1.180-1· arm64 · bookworm-securityNot affected
dsa · linux · debian · bookworm
- [hyperv-daemons]Not affected
Source package: [linux]
Details (6)
6.1.176-1· amd64 · bookwormNot affected
dsa · linux · debian · bookworm
6.1.176-1· arm64 · bookwormNot affected
dsa · linux · debian · bookworm
6.12.95-1~bpo12+1· amd64 · bookworm-backportsNot affected
dsa · linux · debian · bookworm
6.12.95-1~bpo12+1· arm64 · bookworm-backportsNot affected
dsa · linux · debian · bookworm
6.1.180-1· amd64 · bookworm-securityNot affected
dsa · linux · debian · bookworm
6.1.180-1· arm64 · bookworm-securityNot affected
dsa · linux · debian · bookworm
- [intel-sdsi]Not affected
Source package: [linux]
Details (1)
6.12.95-1~bpo12+1· amd64 · bookworm-backportsNot affected
dsa · linux · debian · bookworm
- [libcpupower1]Not affected
Source package: [linux]
Details (6)
6.1.176-1· amd64 · bookwormNot affected
dsa · linux · debian · bookworm
6.1.176-1· arm64 · bookwormNot affected
dsa · linux · debian · bookworm
6.12.95-1~bpo12+1· amd64 · bookworm-backportsNot affected
dsa · linux · debian · bookworm
6.12.95-1~bpo12+1· arm64 · bookworm-backportsNot affected
dsa · linux · debian · bookworm
6.1.180-1· amd64 · bookworm-securityNot affected
dsa · linux · debian · bookworm
6.1.180-1· arm64 · bookworm-securityNot affected
dsa · linux · debian · bookworm
- [libcpupower-dev]Not affected
Source package: [linux]
Details (6)
6.1.176-1· amd64 · bookwormNot affected
dsa · linux · debian · bookworm
6.1.176-1· arm64 · bookwormNot affected
dsa · linux · debian · bookworm
6.12.95-1~bpo12+1· amd64 · bookworm-backportsNot affected
dsa · linux · debian · bookworm
6.12.95-1~bpo12+1· arm64 · bookworm-backportsNot affected
dsa · linux · debian · bookworm
6.1.180-1· amd64 · bookworm-securityNot affected
dsa · linux · debian · bookworm
6.1.180-1· arm64 · bookworm-securityNot affected
dsa · linux · debian · bookworm
- [linux-bpf-dev]Not affected
Source package: [linux]
Details (2)
6.12.95-1~bpo12+1· amd64 · bookworm-backportsNot affected
dsa · linux · debian · bookworm
6.12.95-1~bpo12+1· arm64 · bookworm-backportsNot affected
dsa · linux · debian · bookworm
- [linux-compiler-gcc-12-x86]Not affected
Source package: [linux]
Details (2)
6.1.176-1· amd64 · bookwormNot affected
dsa · linux · debian · bookworm
6.1.180-1· amd64 · bookworm-securityNot affected
dsa · linux · debian · bookworm
- [linux-config-6.1]Not affected
Source package: [linux]
Details (4)
6.1.176-1· amd64 · bookwormNot affected
dsa · linux · debian · bookworm
6.1.176-1· arm64 · bookwormNot affected
dsa · linux · debian · bookworm
6.1.180-1· amd64 · bookworm-securityNot affected
dsa · linux · debian · bookworm
6.1.180-1· arm64 · bookworm-securityNot affected
dsa · linux · debian · bookworm
- [linux-cpupower]Not affected
Source package: [linux]
Details (6)
6.1.176-1· amd64 · bookwormNot affected
dsa · linux · debian · bookworm
6.1.176-1· arm64 · bookwormNot affected
dsa · linux · debian · bookworm
6.12.95-1~bpo12+1· amd64 · bookworm-backportsNot affected
dsa · linux · debian · bookworm
6.12.95-1~bpo12+1· arm64 · bookworm-backportsNot affected
dsa · linux · debian · bookworm
6.1.180-1· amd64 · bookworm-securityNot affected
dsa · linux · debian · bookworm
6.1.180-1· arm64 · bookworm-securityNot affected
dsa · linux · debian · bookworm
- [linux-doc]Not affected
Source package: [linux]
Details (32)
6.1.170-3· all · bookwormNot affected
dsa · linux · debian · bookworm
6.1.170-3· all · bookwormNot affected
dsa · linux · debian · bookworm
6.1.176-1· all · bookwormNot affected
dsa · linux · debian · bookworm
6.1.176-1· all · bookwormNot affected
dsa · linux · debian · bookworm
6.12.43-1~bpo12+1· all · bookworm-backportsNot affected
dsa · linux · debian · bookworm
6.12.43-1~bpo12+1· all · bookworm-backportsNot affected
dsa · linux · debian · bookworm
6.12.57-1~bpo12+1· all · bookworm-backportsNot affected
dsa · linux · debian · bookworm
6.12.57-1~bpo12+1· all · bookworm-backportsNot affected
dsa · linux · debian · bookworm
6.12.63-1~bpo12+1· all · bookworm-backportsNot affected
dsa · linux · debian · bookworm
6.12.63-1~bpo12+1· all · bookworm-backportsNot affected
dsa · linux · debian · bookworm
6.12.69-1~bpo12+1· all · bookworm-backportsNot affected
dsa · linux · debian · bookworm
6.12.69-1~bpo12+1· all · bookworm-backportsNot affected
dsa · linux · debian · bookworm
6.12.73-1~bpo12+1· all · bookworm-backportsNot affected
dsa · linux · debian · bookworm
6.12.73-1~bpo12+1· all · bookworm-backportsNot affected
dsa · linux · debian · bookworm
6.12.74-2~bpo12+1· all · bookworm-backportsNot affected
dsa · linux · debian · bookworm
6.12.74-2~bpo12+1· all · bookworm-backportsNot affected
dsa · linux · debian · bookworm
6.12.85-1~bpo12+1· all · bookworm-backportsNot affected
dsa · linux · debian · bookworm
6.12.85-1~bpo12+1· all · bookworm-backportsNot affected
dsa · linux · debian · bookworm
6.12.86-1~bpo12+1· all · bookworm-backportsNot affected
dsa · linux · debian · bookworm
6.12.86-1~bpo12+1· all · bookworm-backportsNot affected
dsa · linux · debian · bookworm
6.12.88-1~bpo12+1· all · bookworm-backportsNot affected
dsa · linux · debian · bookworm
6.12.88-1~bpo12+1· all · bookworm-backportsNot affected
dsa · linux · debian · bookworm
6.12.90-1~bpo12+1· all · bookworm-backportsNot affected
dsa · linux · debian · bookworm
6.12.90-1~bpo12+1· all · bookworm-backportsNot affected
dsa · linux · debian · bookworm
6.12.90-2~bpo12+1· all · bookworm-backportsNot affected
dsa · linux · debian · bookworm
6.12.90-2~bpo12+1· all · bookworm-backportsNot affected
dsa · linux · debian · bookworm
6.12.94-1~bpo12+1· all · bookworm-backportsNot affected
dsa · linux · debian · bookworm
6.12.94-1~bpo12+1· all · bookworm-backportsNot affected
dsa · linux · debian · bookworm
6.12.95-1~bpo12+1· all · bookworm-backportsNot affected
dsa · linux · debian · bookworm
6.12.95-1~bpo12+1· all · bookworm-backportsNot affected
dsa · linux · debian · bookworm
6.1.180-1· all · bookworm-securityNot affected
dsa · linux · debian · bookworm
6.1.180-1· all · bookworm-securityNot affected
dsa · linux · debian · bookworm
- [linux-doc-6.1]Not affected
Source package: [linux]
Details (6)
6.1.170-3· all · bookwormNot affected
dsa · linux · debian · bookworm
6.1.170-3· all · bookwormNot affected
dsa · linux · debian · bookworm
6.1.176-1· all · bookwormNot affected
dsa · linux · debian · bookworm
6.1.176-1· all · bookwormNot affected
dsa · linux · debian · bookworm
6.1.180-1· all · bookworm-securityNot affected
dsa · linux · debian · bookworm
6.1.180-1· all · bookworm-securityNot affected
dsa · linux · debian · bookworm
- [linux-headers-6.1.0-47-amd64]Not affected
Source package: [linux]
Details (1)
6.1.170-3· amd64 · bookwormNot affected
dsa · linux · debian · bookworm
- [linux-headers-6.1.0-47-arm64]Not affected
Source package: [linux]
Details (1)
6.1.170-3· arm64 · bookwormNot affected
dsa · linux · debian · bookworm
- [linux-headers-6.1.0-47-cloud-amd64]Not affected
Source package: [linux]
Details (1)
6.1.170-3· amd64 · bookwormNot affected
dsa · linux · debian · bookworm
- [linux-headers-6.1.0-47-cloud-arm64]Not affected
Source package: [linux]
Details (1)
6.1.170-3· arm64 · bookwormNot affected
dsa · linux · debian · bookworm
- [linux-headers-6.1.0-47-common]Not affected
Source package: [linux]
Details (2)
6.1.170-3· all · bookwormNot affected
dsa · linux · debian · bookworm
6.1.170-3· all · bookwormNot affected
dsa · linux · debian · bookworm
- [linux-headers-6.1.0-47-common-rt]Not affected
Source package: [linux]
Details (2)
6.1.170-3· all · bookwormNot affected
dsa · linux · debian · bookworm
6.1.170-3· all · bookwormNot affected
dsa · linux · debian · bookworm
- [linux-headers-6.1.0-47-rt-amd64]Not affected
Source package: [linux]
Details (1)
6.1.170-3· amd64 · bookwormNot affected
dsa · linux · debian · bookworm
- [linux-headers-6.1.0-47-rt-arm64]Not affected
Source package: [linux]
Details (1)
6.1.170-3· arm64 · bookwormNot affected
dsa · linux · debian · bookworm
- [linux-headers-6.1.0-50-amd64]Not affected
Source package: [linux]
Details (1)
6.1.176-1· amd64 · bookwormNot affected
dsa · linux · debian · bookworm
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2026_0278-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2023-53791]
- [https://security-tracker.debian.org/tracker/CVE-2023-53791]
- [https://security.access.redhat.com/data/csaf/v2/vex/2023/cve-2023-53791.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2025/wid-sec-w-2025-2765.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]