# CVE-2023-53576: null\_blk: Always check queue mode setting from configfs

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2025-10-04T15:17:15.931Z
- **Modified:** 2026-11-05T21:17:26.610Z

## Who should check

- Anyone running Linux \>= e50b1e327aeb4b224364aa6f85c1713ff8b3654b, \< e732a266b973cd4e115e2cc2ea5007119e8a7fbc; \>= e50b1e327aeb4b224364aa6f85c1713ff8b3654b, \< 35e304dbcefa95237a3d6f94c007bfb10f012b17; \>= e50b1e327aeb4b224364aa6f85c1713ff8b3654b, \< fd35b7bb6d5a329c427924886949ab51f210200a; \>= e50b1e327aeb4b224364aa6f85c1713ff8b3654b, \< 651260e563d9f50827dac496dc8a0b9b23d5db1a; \>= e50b1e327aeb4b224364aa6f85c1713ff8b3654b, \< 63f8793ee60513a09f110ea460a6ff2c33811cdb
- Anyone running Linux 4.20

## Description

In the Linux kernel, the following vulnerability has been resolved:

null\_blk: Always check queue mode setting from configfs

Make sure to check device queue mode in the null\_validate\_conf() and
return error for NULL\_Q\_RQ as we don't allow legacy I/O path, without
this patch we get OOPs when queue mode is set to 1 from configfs,
following are repro steps :-

modprobe null\_blk nr\_devices=0
mkdir config/nullb/nullb0
echo 1 \> config/nullb/nullb0/memory\_backed
echo 4096 \> config/nullb/nullb0/blocksize
echo 20480 \> config/nullb/nullb0/size
echo 1 \> config/nullb/nullb0/queue\_mode
echo 1 \> config/nullb/nullb0/power

Entering kdb (current=0xffff88810acdd080, pid 2372) on processor 42 Oops: (null)
due to oops @ 0xffffffffc041c329
CPU: 42 PID: 2372 Comm: sh Tainted: G           O     N 6.3.0-rc5lblk+ \#5
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014
RIP: 0010:null\_add\_dev.part.0+0xd9/0x720 \[null\_blk\]
Code: 01 00 00 85 d2 0f 85 a1 03 00 00 48 83 bb 08 01 00 00 00 0f 85 f7 03 00 00 80 bb 62 01 00 00 00 48 8b 75 20 0f 85 6d 02 00 00 \<48\> 89 6e 60 48 8b 75 20 bf 06 00 00 00 e8 f5 37 2c c1 48 8b 75 20
RSP: 0018:ffffc900052cbde0 EFLAGS: 00010246
RAX: 0000000000000001 RBX: ffff88811084d800 RCX: 0000000000000001
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff888100042e00
RBP: ffff8881053d8200 R08: ffffc900052cbd68 R09: ffff888105db2000
R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000002
R13: ffff888104765200 R14: ffff88810eec1748 R15: ffff88810eec1740
FS:  00007fd445fd1740(0000) GS:ffff8897dfc80000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000060 CR3: 0000000166a00000 CR4: 0000000000350ee0
DR0: ffffffff8437a488 DR1: ffffffff8437a489 DR2: ffffffff8437a48a
DR3: ffffffff8437a48b DR6: 00000000ffff0ff0 DR7: 0000000000000400
Call Trace:
 \<TASK\>
 nullb\_device\_power\_store+0xd1/0x120 \[null\_blk\]
 configfs\_write\_iter+0xb4/0x120
 vfs\_write+0x2ba/0x3c0
 ksys\_write+0x5f/0xe0
 do\_syscall\_64+0x3b/0x90
 entry\_SYSCALL\_64\_after\_hwframe+0x72/0xdc
RIP: 0033:0x7fd4460c57a7
Code: 0d 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 01 00 00 00 0f 05 \<48\> 3d 00 f0 ff ff 77 51 c3 48 83 ec 28 48 89 54 24 18 48 89 74 24
RSP: 002b:00007ffd3792a4a8 EFLAGS: 00000246 ORIG\_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007fd4460c57a7
RDX: 0000000000000002 RSI: 000055b43c02e4c0 RDI: 0000000000000001
RBP: 000055b43c02e4c0 R08: 000000000000000a R09: 00007fd44615b4e0
R10: 00007fd44615b3e0 R11: 0000000000000246 R12: 0000000000000002
R13: 00007fd446198520 R14: 0000000000000002 R15: 00007fd446198700
 \</TASK\>

## Affected and fixed versions

- Linux: \>= e50b1e327aeb4b224364aa6f85c1713ff8b3654b, \< e732a266b973cd4e115e2cc2ea5007119e8a7fbc; \>= e50b1e327aeb4b224364aa6f85c1713ff8b3654b, \< 35e304dbcefa95237a3d6f94c007bfb10f012b17; \>= e50b1e327aeb4b224364aa6f85c1713ff8b3654b, \< fd35b7bb6d5a329c427924886949ab51f210200a; \>= e50b1e327aeb4b224364aa6f85c1713ff8b3654b, \< 651260e563d9f50827dac496dc8a0b9b23d5db1a; \>= e50b1e327aeb4b224364aa6f85c1713ff8b3654b, \< 63f8793ee60513a09f110ea460a6ff2c33811cdb (cvelist)
- Linux: 4.20 (cvelist)

## Mitigation

- Upgrade Linux to 63f8793ee60513a09f110ea460a6ff2c33811cdb or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-53576. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53576.md
Affected: Linux >= e50b1e327aeb4b224364aa6f85c1713ff8b3654b, < e732a266b973cd4e115e2cc2ea5007119e8a7fbc; >= e50b1e327aeb4b224364aa6f85c1713ff8b3654b, < 35e304dbcefa95237a3d6f94c007bfb10f012b17; >= e50b1e327aeb4b224364aa6f85c1713ff8b3654b, < fd35b7bb6d5a329c427924886949ab51f210200a; >= e50b1e327aeb4b224364aa6…
Fixed in: Linux 35e304dbcefa95237a3d6f94c007bfb10f012b17, Linux 651260e563d9f50827dac496dc8a0b9b23d5db1a, Linux 63f8793ee60513a09f110ea460a6ff2c33811cdb

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-53576 being exploited?

There is no confirmed exploitation: CVE-2023-53576 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-53576?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2023-53576?

Linux \>= e50b1e327aeb4b224364aa6f85c1713ff8b3654b, \< e732a266b973cd4e115e2cc2ea5007119e8a7fbc; \>= e50b1e327aeb4b224364aa6f85c1713ff8b3654b, \< 35e304dbcefa95237a3d6f94c007bfb10f012b17; \>= e50b1e327aeb4b224364aa6f85c1713ff8b3654b, \< fd35b7bb6d5a329c427924886949ab51f210200a; \>= e50b1e327aeb4b224364aa6f85c1713ff8b3654b, \< 651260e563d9f50827dac496dc8a0b9b23d5db1a; \>= e50b1e327aeb4b224364aa6f85c1713ff8b3654b, \< 63f8793ee60513a09f110ea460a6ff2c33811cdb; Linux 4.20.

### Is there a fix for CVE-2023-53576?

Yes. Fixed in Linux 35e304dbcefa95237a3d6f94c007bfb10f012b17, Linux 651260e563d9f50827dac496dc8a0b9b23d5db1a, Linux 63f8793ee60513a09f110ea460a6ff2c33811cdb. Upgrade Linux to 63f8793ee60513a09f110ea460a6ff2c33811cdb or later.

### How do I check if I'm affected by CVE-2023-53576?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/e732a266b973cd4e115e2cc2ea5007119e8a7fbc>
- patch: <https://git.kernel.org/stable/c/35e304dbcefa95237a3d6f94c007bfb10f012b17>
- patch: <https://git.kernel.org/stable/c/fd35b7bb6d5a329c427924886949ab51f210200a>
- patch: <https://git.kernel.org/stable/c/651260e563d9f50827dac496dc8a0b9b23d5db1a>
- patch: <https://git.kernel.org/stable/c/63f8793ee60513a09f110ea460a6ff2c33811cdb>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-53576>

HTML: <https://flawdb.com/CVE-2023-53576> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-53576>
