# CVE-2023-53578: net: qrtr: Fix an uninit variable access bug in qrtr\_tx\_resume()

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; 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.24% (percentile 9, 2026-11-26)
- **CWE:** CWE-908
- **Published:** 2025-10-04T15:17:17.350Z
- **Modified:** 2026-11-05T21:17:26.770Z

## Who should check

- Anyone running Linux \>= 5fdeb0d372ab33b4175043a2a4a1730239a217f1, \< 3814d211ff13ee35f2d9437439a6c7df58524137; \>= 5fdeb0d372ab33b4175043a2a4a1730239a217f1, \< c6a796ee5a639ffb83c6e5469408cc2ec16cac6a; \>= 5fdeb0d372ab33b4175043a2a4a1730239a217f1, \< bef57c227b52c2bde00fad33556175d36d12cfa0; \>= 5fdeb0d372ab33b4175043a2a4a1730239a217f1, \< 8c9ce34a6ff2c544f96ce0b088e8fd3c1b9698c4; \>= 5fdeb0d372ab33b4175043a2a4a1730239a217f1, \< 6417070918de3bcdbe0646e7256dae58fd8083ba
- Anyone running Linux 5.6

## Description

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

net: qrtr: Fix an uninit variable access bug in qrtr\_tx\_resume()

Syzbot reported a bug as following:

=====================================================
BUG: KMSAN: uninit-value in qrtr\_tx\_resume+0x185/0x1f0 net/qrtr/af\_qrtr.c:230
 qrtr\_tx\_resume+0x185/0x1f0 net/qrtr/af\_qrtr.c:230
 qrtr\_endpoint\_post+0xf85/0x11b0 net/qrtr/af\_qrtr.c:519
 qrtr\_tun\_write\_iter+0x270/0x400 net/qrtr/tun.c:108
 call\_write\_iter include/linux/fs.h:2189 \[inline\]
 aio\_write+0x63a/0x950 fs/aio.c:1600
 io\_submit\_one+0x1d1c/0x3bf0 fs/aio.c:2019
 \_\_do\_sys\_io\_submit fs/aio.c:2078 \[inline\]
 \_\_se\_sys\_io\_submit+0x293/0x770 fs/aio.c:2048
 \_\_x64\_sys\_io\_submit+0x92/0xd0 fs/aio.c:2048
 do\_syscall\_x64 arch/x86/entry/common.c:50 \[inline\]
 do\_syscall\_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry\_SYSCALL\_64\_after\_hwframe+0x63/0xcd

Uninit was created at:
 slab\_post\_alloc\_hook mm/slab.h:766 \[inline\]
 slab\_alloc\_node mm/slub.c:3452 \[inline\]
 \_\_kmem\_cache\_alloc\_node+0x71f/0xce0 mm/slub.c:3491
 \_\_do\_kmalloc\_node mm/slab\_common.c:967 \[inline\]
 \_\_kmalloc\_node\_track\_caller+0x114/0x3b0 mm/slab\_common.c:988
 kmalloc\_reserve net/core/skbuff.c:492 \[inline\]
 \_\_alloc\_skb+0x3af/0x8f0 net/core/skbuff.c:565
 \_\_netdev\_alloc\_skb+0x120/0x7d0 net/core/skbuff.c:630
 qrtr\_endpoint\_post+0xbd/0x11b0 net/qrtr/af\_qrtr.c:446
 qrtr\_tun\_write\_iter+0x270/0x400 net/qrtr/tun.c:108
 call\_write\_iter include/linux/fs.h:2189 \[inline\]
 aio\_write+0x63a/0x950 fs/aio.c:1600
 io\_submit\_one+0x1d1c/0x3bf0 fs/aio.c:2019
 \_\_do\_sys\_io\_submit fs/aio.c:2078 \[inline\]
 \_\_se\_sys\_io\_submit+0x293/0x770 fs/aio.c:2048
 \_\_x64\_sys\_io\_submit+0x92/0xd0 fs/aio.c:2048
 do\_syscall\_x64 arch/x86/entry/common.c:50 \[inline\]
 do\_syscall\_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry\_SYSCALL\_64\_after\_hwframe+0x63/0xcd

It is because that skb-\>len requires at least sizeof(struct qrtr\_ctrl\_pkt)
in qrtr\_tx\_resume(). And skb-\>len equals to size in qrtr\_endpoint\_post().
But size is less than sizeof(struct qrtr\_ctrl\_pkt) when qrtr\_cb-\>type
equals to QRTR\_TYPE\_RESUME\_TX in qrtr\_endpoint\_post() under the syzbot
scenario. This triggers the uninit variable access bug.

Add size check when qrtr\_cb-\>type equals to QRTR\_TYPE\_RESUME\_TX in
qrtr\_endpoint\_post() to fix the bug.

## Affected and fixed versions

- Linux: \>= 5fdeb0d372ab33b4175043a2a4a1730239a217f1, \< 3814d211ff13ee35f2d9437439a6c7df58524137; \>= 5fdeb0d372ab33b4175043a2a4a1730239a217f1, \< c6a796ee5a639ffb83c6e5469408cc2ec16cac6a; \>= 5fdeb0d372ab33b4175043a2a4a1730239a217f1, \< bef57c227b52c2bde00fad33556175d36d12cfa0; \>= 5fdeb0d372ab33b4175043a2a4a1730239a217f1, \< 8c9ce34a6ff2c544f96ce0b088e8fd3c1b9698c4; \>= 5fdeb0d372ab33b4175043a2a4a1730239a217f1, \< 6417070918de3bcdbe0646e7256dae58fd8083ba (cvelist)
- Linux: 5.6 (cvelist)

## Mitigation

- Upgrade Linux to 6417070918de3bcdbe0646e7256dae58fd8083ba 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-53578. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53578.md
Affected: Linux >= 5fdeb0d372ab33b4175043a2a4a1730239a217f1, < 3814d211ff13ee35f2d9437439a6c7df58524137; >= 5fdeb0d372ab33b4175043a2a4a1730239a217f1, < c6a796ee5a639ffb83c6e5469408cc2ec16cac6a; >= 5fdeb0d372ab33b4175043a2a4a1730239a217f1, < bef57c227b52c2bde00fad33556175d36d12cfa0; >= 5fdeb0d372ab33b4175043a…
Fixed in: Linux 3814d211ff13ee35f2d9437439a6c7df58524137, Linux 8c9ce34a6ff2c544f96ce0b088e8fd3c1b9698c4, Linux 6417070918de3bcdbe0646e7256dae58fd8083ba

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-53578 being exploited?

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

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

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

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

Linux \>= 5fdeb0d372ab33b4175043a2a4a1730239a217f1, \< 3814d211ff13ee35f2d9437439a6c7df58524137; \>= 5fdeb0d372ab33b4175043a2a4a1730239a217f1, \< c6a796ee5a639ffb83c6e5469408cc2ec16cac6a; \>= 5fdeb0d372ab33b4175043a2a4a1730239a217f1, \< bef57c227b52c2bde00fad33556175d36d12cfa0; \>= 5fdeb0d372ab33b4175043a2a4a1730239a217f1, \< 8c9ce34a6ff2c544f96ce0b088e8fd3c1b9698c4; \>= 5fdeb0d372ab33b4175043a2a4a1730239a217f1, \< 6417070918de3bcdbe0646e7256dae58fd8083ba; Linux 5.6.

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

Yes. Fixed in Linux 3814d211ff13ee35f2d9437439a6c7df58524137, Linux 8c9ce34a6ff2c544f96ce0b088e8fd3c1b9698c4, Linux 6417070918de3bcdbe0646e7256dae58fd8083ba. Upgrade Linux to 6417070918de3bcdbe0646e7256dae58fd8083ba or later.

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

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/3814d211ff13ee35f2d9437439a6c7df58524137>
- patch: <https://git.kernel.org/stable/c/c6a796ee5a639ffb83c6e5469408cc2ec16cac6a>
- patch: <https://git.kernel.org/stable/c/bef57c227b52c2bde00fad33556175d36d12cfa0>
- patch: <https://git.kernel.org/stable/c/8c9ce34a6ff2c544f96ce0b088e8fd3c1b9698c4>
- patch: <https://git.kernel.org/stable/c/6417070918de3bcdbe0646e7256dae58fd8083ba>

## 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-53578>

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