CVE-2023-53445 (GCVE-0-2023-53445)
Vulnerability from cvelistv5
Published
2025-09-18 16:04
Modified
2025-09-18 16:04
Severity ?
VLAI Severity ?
EPSS score ?
Summary
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.
References
Impacted products
{ "containers": { "cna": { "affected": [ { "defaultStatus": "unaffected", "product": "Linux", "programFiles": [ "net/qrtr/af_qrtr.c" ], "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "vendor": "Linux", "versions": [ { "lessThan": "98a9cd82c541ef6cbdb829cd6c05cbbb471e373c", "status": "affected", "version": "0a7e0d0ef05440db03c3199e84d228db943b237f", "versionType": "git" }, { "lessThan": "b9ba5906c42089f8e1d0001b7b50a7940f086cbb", "status": "affected", "version": "0a7e0d0ef05440db03c3199e84d228db943b237f", "versionType": "git" }, { "lessThan": "aa95efa187b4114075f312b3c4680d050b56fdec", "status": "affected", "version": "0a7e0d0ef05440db03c3199e84d228db943b237f", "versionType": "git" }, { "lessThan": "48a07f6e00d305597396da4d7494b81cec05b9d3", "status": "affected", "version": "0a7e0d0ef05440db03c3199e84d228db943b237f", "versionType": "git" }, { "lessThan": "44d807320000db0d0013372ad39b53e12d52f758", "status": "affected", "version": "0a7e0d0ef05440db03c3199e84d228db943b237f", "versionType": "git" } ] }, { "defaultStatus": "affected", "product": "Linux", "programFiles": [ "net/qrtr/af_qrtr.c" ], "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "vendor": "Linux", "versions": [ { "status": "affected", "version": "5.6" }, { "lessThan": "5.6", "status": "unaffected", "version": "0", "versionType": "semver" }, { "lessThanOrEqual": "5.10.*", "status": "unaffected", "version": "5.10.178", "versionType": "semver" }, { "lessThanOrEqual": "5.15.*", "status": "unaffected", "version": "5.15.107", "versionType": "semver" }, { "lessThanOrEqual": "6.1.*", "status": "unaffected", "version": "6.1.24", "versionType": "semver" }, { "lessThanOrEqual": "6.2.*", "status": "unaffected", "version": "6.2.11", "versionType": "semver" }, { "lessThanOrEqual": "*", "status": "unaffected", "version": "6.3", "versionType": "original_commit_for_fix" } ] } ], "cpeApplicability": [ { "nodes": [ { "cpeMatch": [ { "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionEndExcluding": "5.10.178", "versionStartIncluding": "5.6", "vulnerable": true }, { "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionEndExcluding": "5.15.107", "versionStartIncluding": "5.6", "vulnerable": true }, { "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionEndExcluding": "6.1.24", "versionStartIncluding": "5.6", "vulnerable": true }, { "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionEndExcluding": "6.2.11", "versionStartIncluding": "5.6", "vulnerable": true }, { "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionEndExcluding": "6.3", "versionStartIncluding": "5.6", "vulnerable": true } ], "negate": false, "operator": "OR" } ] } ], "descriptions": [ { "lang": "en", "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: qrtr: Fix a refcount bug in qrtr_recvmsg()\n\nSyzbot reported a bug as following:\n\nrefcount_t: addition on 0; use-after-free.\n...\nRIP: 0010:refcount_warn_saturate+0x17c/0x1f0 lib/refcount.c:25\n...\nCall Trace:\n \u003cTASK\u003e\n __refcount_add include/linux/refcount.h:199 [inline]\n __refcount_inc include/linux/refcount.h:250 [inline]\n refcount_inc include/linux/refcount.h:267 [inline]\n kref_get include/linux/kref.h:45 [inline]\n qrtr_node_acquire net/qrtr/af_qrtr.c:202 [inline]\n qrtr_node_lookup net/qrtr/af_qrtr.c:398 [inline]\n qrtr_send_resume_tx net/qrtr/af_qrtr.c:1003 [inline]\n qrtr_recvmsg+0x85f/0x990 net/qrtr/af_qrtr.c:1070\n sock_recvmsg_nosec net/socket.c:1017 [inline]\n sock_recvmsg+0xe2/0x160 net/socket.c:1038\n qrtr_ns_worker+0x170/0x1700 net/qrtr/ns.c:688\n process_one_work+0x991/0x15c0 kernel/workqueue.c:2390\n worker_thread+0x669/0x1090 kernel/workqueue.c:2537\n\nIt occurs in the concurrent scenario of qrtr_recvmsg() and\nqrtr_endpoint_unregister() as following:\n\n\tcpu0\t\t\t\t\tcpu1\nqrtr_recvmsg\t\t\t\tqrtr_endpoint_unregister\nqrtr_send_resume_tx\t\t\tqrtr_node_release\nqrtr_node_lookup\t\t\tmutex_lock(\u0026qrtr_node_lock)\nspin_lock_irqsave(\u0026qrtr_nodes_lock, )\trefcount_dec_and_test(\u0026node-\u003eref) [node-\u003eref == 0]\nradix_tree_lookup [node != NULL]\t__qrtr_node_release\nqrtr_node_acquire\t\t\tspin_lock_irqsave(\u0026qrtr_nodes_lock, )\nkref_get(\u0026node-\u003eref) [WARNING]\t\t...\n\t\t\t\t\tmutex_unlock(\u0026qrtr_node_lock)\n\nUse qrtr_node_lock to protect qrtr_node_lookup() implementation, this\nis actually improving the protection of node reference." } ], "providerMetadata": { "dateUpdated": "2025-09-18T16:04:21.257Z", "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "shortName": "Linux" }, "references": [ { "url": "https://git.kernel.org/stable/c/98a9cd82c541ef6cbdb829cd6c05cbbb471e373c" }, { "url": "https://git.kernel.org/stable/c/b9ba5906c42089f8e1d0001b7b50a7940f086cbb" }, { "url": "https://git.kernel.org/stable/c/aa95efa187b4114075f312b3c4680d050b56fdec" }, { "url": "https://git.kernel.org/stable/c/48a07f6e00d305597396da4d7494b81cec05b9d3" }, { "url": "https://git.kernel.org/stable/c/44d807320000db0d0013372ad39b53e12d52f758" } ], "title": "net: qrtr: Fix a refcount bug in qrtr_recvmsg()", "x_generator": { "engine": "bippy-1.2.0" } } }, "cveMetadata": { "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "assignerShortName": "Linux", "cveId": "CVE-2023-53445", "datePublished": "2025-09-18T16:04:21.257Z", "dateReserved": "2025-09-17T14:54:09.753Z", "dateUpdated": "2025-09-18T16:04:21.257Z", "state": "PUBLISHED" }, "dataType": "CVE_RECORD", "dataVersion": "5.1", "vulnerability-lookup:meta": { "nvd": "{\"cve\":{\"id\":\"CVE-2023-53445\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-09-18T16:15:48.817\",\"lastModified\":\"2025-09-19T16:00:27.847\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nnet: qrtr: Fix a refcount bug in qrtr_recvmsg()\\n\\nSyzbot reported a bug as following:\\n\\nrefcount_t: addition on 0; use-after-free.\\n...\\nRIP: 0010:refcount_warn_saturate+0x17c/0x1f0 lib/refcount.c:25\\n...\\nCall Trace:\\n \u003cTASK\u003e\\n __refcount_add include/linux/refcount.h:199 [inline]\\n __refcount_inc include/linux/refcount.h:250 [inline]\\n refcount_inc include/linux/refcount.h:267 [inline]\\n kref_get include/linux/kref.h:45 [inline]\\n qrtr_node_acquire net/qrtr/af_qrtr.c:202 [inline]\\n qrtr_node_lookup net/qrtr/af_qrtr.c:398 [inline]\\n qrtr_send_resume_tx net/qrtr/af_qrtr.c:1003 [inline]\\n qrtr_recvmsg+0x85f/0x990 net/qrtr/af_qrtr.c:1070\\n sock_recvmsg_nosec net/socket.c:1017 [inline]\\n sock_recvmsg+0xe2/0x160 net/socket.c:1038\\n qrtr_ns_worker+0x170/0x1700 net/qrtr/ns.c:688\\n process_one_work+0x991/0x15c0 kernel/workqueue.c:2390\\n worker_thread+0x669/0x1090 kernel/workqueue.c:2537\\n\\nIt occurs in the concurrent scenario of qrtr_recvmsg() and\\nqrtr_endpoint_unregister() as following:\\n\\n\\tcpu0\\t\\t\\t\\t\\tcpu1\\nqrtr_recvmsg\\t\\t\\t\\tqrtr_endpoint_unregister\\nqrtr_send_resume_tx\\t\\t\\tqrtr_node_release\\nqrtr_node_lookup\\t\\t\\tmutex_lock(\u0026qrtr_node_lock)\\nspin_lock_irqsave(\u0026qrtr_nodes_lock, )\\trefcount_dec_and_test(\u0026node-\u003eref) [node-\u003eref == 0]\\nradix_tree_lookup [node != NULL]\\t__qrtr_node_release\\nqrtr_node_acquire\\t\\t\\tspin_lock_irqsave(\u0026qrtr_nodes_lock, )\\nkref_get(\u0026node-\u003eref) [WARNING]\\t\\t...\\n\\t\\t\\t\\t\\tmutex_unlock(\u0026qrtr_node_lock)\\n\\nUse qrtr_node_lock to protect qrtr_node_lookup() implementation, this\\nis actually improving the protection of node reference.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/44d807320000db0d0013372ad39b53e12d52f758\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/48a07f6e00d305597396da4d7494b81cec05b9d3\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/98a9cd82c541ef6cbdb829cd6c05cbbb471e373c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/aa95efa187b4114075f312b3c4680d050b56fdec\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b9ba5906c42089f8e1d0001b7b50a7940f086cbb\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}" } }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…