# CVE-2023-53445: net: qrtr: Fix a refcount bug in qrtr\_recvmsg()

> 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, CNA) `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)
- **Published:** 2025-09-18T16:04:21.257Z
- **Modified:** 2026-08-05T09:14:09.277Z

## Who should check

- Anyone running Linux \>= 0a7e0d0ef05440db03c3199e84d228db943b237f, \< 98a9cd82c541ef6cbdb829cd6c05cbbb471e373c; \>= 0a7e0d0ef05440db03c3199e84d228db943b237f, \< b9ba5906c42089f8e1d0001b7b50a7940f086cbb; \>= 0a7e0d0ef05440db03c3199e84d228db943b237f, \< aa95efa187b4114075f312b3c4680d050b56fdec; \>= 0a7e0d0ef05440db03c3199e84d228db943b237f, \< 48a07f6e00d305597396da4d7494b81cec05b9d3; \>= 0a7e0d0ef05440db03c3199e84d228db943b237f, \< 44d807320000db0d0013372ad39b53e12d52f758
- Anyone running Linux 5.6

## Description

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

net: qrtr: Fix a refcount bug in qrtr\_recvmsg()

Syzbot reported a bug as following:

refcount\_t: addition on 0; use-after-free.
...
RIP: 0010:refcount\_warn\_saturate+0x17c/0x1f0 lib/refcount.c:25
...
Call Trace:
 \<TASK\>
 \_\_refcount\_add include/linux/refcount.h:199 \[inline\]
 \_\_refcount\_inc include/linux/refcount.h:250 \[inline\]
 refcount\_inc include/linux/refcount.h:267 \[inline\]
 kref\_get include/linux/kref.h:45 \[inline\]
 qrtr\_node\_acquire net/qrtr/af\_qrtr.c:202 \[inline\]
 qrtr\_node\_lookup net/qrtr/af\_qrtr.c:398 \[inline\]
 qrtr\_send\_resume\_tx net/qrtr/af\_qrtr.c:1003 \[inline\]
 qrtr\_recvmsg+0x85f/0x990 net/qrtr/af\_qrtr.c:1070
 sock\_recvmsg\_nosec net/socket.c:1017 \[inline\]
 sock\_recvmsg+0xe2/0x160 net/socket.c:1038
 qrtr\_ns\_worker+0x170/0x1700 net/qrtr/ns.c:688
 process\_one\_work+0x991/0x15c0 kernel/workqueue.c:2390
 worker\_thread+0x669/0x1090 kernel/workqueue.c:2537

It occurs in the concurrent scenario of qrtr\_recvmsg() and
qrtr\_endpoint\_unregister() as following:

	cpu0					cpu1
qrtr\_recvmsg				qrtr\_endpoint\_unregister
qrtr\_send\_resume\_tx			qrtr\_node\_release
qrtr\_node\_lookup			mutex\_lock(&qrtr\_node\_lock)
spin\_lock\_irqsave(&qrtr\_nodes\_lock, )	refcount\_dec\_and\_test(&node-\>ref) \[node-\>ref == 0\]
radix\_tree\_lookup \[node != NULL\]	\_\_qrtr\_node\_release
qrtr\_node\_acquire			spin\_lock\_irqsave(&qrtr\_nodes\_lock, )
kref\_get(&node-\>ref) \[WARNING\]		...
					mutex\_unlock(&qrtr\_node\_lock)

Use qrtr\_node\_lock to protect qrtr\_node\_lookup() implementation, this
is actually improving the protection of node reference.

## Affected and fixed versions

- Linux: \>= 0a7e0d0ef05440db03c3199e84d228db943b237f, \< 98a9cd82c541ef6cbdb829cd6c05cbbb471e373c; \>= 0a7e0d0ef05440db03c3199e84d228db943b237f, \< b9ba5906c42089f8e1d0001b7b50a7940f086cbb; \>= 0a7e0d0ef05440db03c3199e84d228db943b237f, \< aa95efa187b4114075f312b3c4680d050b56fdec; \>= 0a7e0d0ef05440db03c3199e84d228db943b237f, \< 48a07f6e00d305597396da4d7494b81cec05b9d3; \>= 0a7e0d0ef05440db03c3199e84d228db943b237f, \< 44d807320000db0d0013372ad39b53e12d52f758 (cvelist)
- Linux: 5.6 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2023-53445.md
Affected: Linux >= 0a7e0d0ef05440db03c3199e84d228db943b237f, < 98a9cd82c541ef6cbdb829cd6c05cbbb471e373c; >= 0a7e0d0ef05440db03c3199e84d228db943b237f, < b9ba5906c42089f8e1d0001b7b50a7940f086cbb; >= 0a7e0d0ef05440db03c3199e84d228db943b237f, < aa95efa187b4114075f312b3c4680d050b56fdec; >= 0a7e0d0ef05440db03c3199…
Fixed in: Linux 98a9cd82c541ef6cbdb829cd6c05cbbb471e373c, Linux 48a07f6e00d305597396da4d7494b81cec05b9d3, Linux 44d807320000db0d0013372ad39b53e12d52f758

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

There is no confirmed exploitation: CVE-2023-53445 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-53445?

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

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

Linux \>= 0a7e0d0ef05440db03c3199e84d228db943b237f, \< 98a9cd82c541ef6cbdb829cd6c05cbbb471e373c; \>= 0a7e0d0ef05440db03c3199e84d228db943b237f, \< b9ba5906c42089f8e1d0001b7b50a7940f086cbb; \>= 0a7e0d0ef05440db03c3199e84d228db943b237f, \< aa95efa187b4114075f312b3c4680d050b56fdec; \>= 0a7e0d0ef05440db03c3199e84d228db943b237f, \< 48a07f6e00d305597396da4d7494b81cec05b9d3; \>= 0a7e0d0ef05440db03c3199e84d228db943b237f, \< 44d807320000db0d0013372ad39b53e12d52f758; Linux 5.6.

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

Yes. Fixed in Linux 98a9cd82c541ef6cbdb829cd6c05cbbb471e373c, Linux 48a07f6e00d305597396da4d7494b81cec05b9d3, Linux 44d807320000db0d0013372ad39b53e12d52f758. Upgrade Linux to 44d807320000db0d0013372ad39b53e12d52f758 or later.

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

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/98a9cd82c541ef6cbdb829cd6c05cbbb471e373c>
- patch: <https://git.kernel.org/stable/c/b9ba5906c42089f8e1d0001b7b50a7940f086cbb>
- patch: <https://git.kernel.org/stable/c/aa95efa187b4114075f312b3c4680d050b56fdec>
- patch: <https://git.kernel.org/stable/c/48a07f6e00d305597396da4d7494b81cec05b9d3>
- patch: <https://git.kernel.org/stable/c/44d807320000db0d0013372ad39b53e12d52f758>

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

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