CVE-2023-54209 (GCVE-0-2023-54209)
Vulnerability from cvelistv5 – Published: 2025-12-30 12:11 – Updated: 2025-12-30 12:11
VLAI?
Title
block: fix blktrace debugfs entries leakage
Summary
In the Linux kernel, the following vulnerability has been resolved:
block: fix blktrace debugfs entries leakage
Commit 99d055b4fd4b ("block: remove per-disk debugfs files in
blk_unregister_queue") moves blk_trace_shutdown() from
blk_release_queue() to blk_unregister_queue(), this is safe if blktrace
is created through sysfs, however, there is a regression in corner
case.
blktrace can still be enabled after del_gendisk() through ioctl if
the disk is opened before del_gendisk(), and if blktrace is not shutdown
through ioctl before closing the disk, debugfs entries will be leaked.
Fix this problem by shutdown blktrace in disk_release(), this is safe
because blk_trace_remove() is reentrant.
Severity ?
No CVSS data available.
Assigner
References
Impacted products
| Vendor | Product | Version | ||
|---|---|---|---|---|
| Linux | Linux |
Affected:
99d055b4fd4bbb309c6cdb51a0d420669f777944 , < aa07e56c6a9c7558165690d14eed4fe8babf34fb
(git)
Affected: 99d055b4fd4bbb309c6cdb51a0d420669f777944 , < 7149e57cf01184fba175589f8fbe9fbf33be02e1 (git) Affected: 99d055b4fd4bbb309c6cdb51a0d420669f777944 , < 942e81650b81b4ca62f1d8c61de455c9e7c7e6ca (git) Affected: 99d055b4fd4bbb309c6cdb51a0d420669f777944 , < dd7de3704af9989b780693d51eaea49a665bd9c2 (git) |
||
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"block/genhd.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "aa07e56c6a9c7558165690d14eed4fe8babf34fb",
"status": "affected",
"version": "99d055b4fd4bbb309c6cdb51a0d420669f777944",
"versionType": "git"
},
{
"lessThan": "7149e57cf01184fba175589f8fbe9fbf33be02e1",
"status": "affected",
"version": "99d055b4fd4bbb309c6cdb51a0d420669f777944",
"versionType": "git"
},
{
"lessThan": "942e81650b81b4ca62f1d8c61de455c9e7c7e6ca",
"status": "affected",
"version": "99d055b4fd4bbb309c6cdb51a0d420669f777944",
"versionType": "git"
},
{
"lessThan": "dd7de3704af9989b780693d51eaea49a665bd9c2",
"status": "affected",
"version": "99d055b4fd4bbb309c6cdb51a0d420669f777944",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"block/genhd.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "5.19"
},
{
"lessThan": "5.19",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"version": "6.1.39",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.3.*",
"status": "unaffected",
"version": "6.3.13",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.4.*",
"status": "unaffected",
"version": "6.4.4",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "6.5",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.1.39",
"versionStartIncluding": "5.19",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.3.13",
"versionStartIncluding": "5.19",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.4.4",
"versionStartIncluding": "5.19",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.5",
"versionStartIncluding": "5.19",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nblock: fix blktrace debugfs entries leakage\n\nCommit 99d055b4fd4b (\"block: remove per-disk debugfs files in\nblk_unregister_queue\") moves blk_trace_shutdown() from\nblk_release_queue() to blk_unregister_queue(), this is safe if blktrace\nis created through sysfs, however, there is a regression in corner\ncase.\n\nblktrace can still be enabled after del_gendisk() through ioctl if\nthe disk is opened before del_gendisk(), and if blktrace is not shutdown\nthrough ioctl before closing the disk, debugfs entries will be leaked.\n\nFix this problem by shutdown blktrace in disk_release(), this is safe\nbecause blk_trace_remove() is reentrant."
}
],
"providerMetadata": {
"dateUpdated": "2025-12-30T12:11:08.027Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/aa07e56c6a9c7558165690d14eed4fe8babf34fb"
},
{
"url": "https://git.kernel.org/stable/c/7149e57cf01184fba175589f8fbe9fbf33be02e1"
},
{
"url": "https://git.kernel.org/stable/c/942e81650b81b4ca62f1d8c61de455c9e7c7e6ca"
},
{
"url": "https://git.kernel.org/stable/c/dd7de3704af9989b780693d51eaea49a665bd9c2"
}
],
"title": "block: fix blktrace debugfs entries leakage",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2023-54209",
"datePublished": "2025-12-30T12:11:08.027Z",
"dateReserved": "2025-12-30T12:06:44.500Z",
"dateUpdated": "2025-12-30T12:11:08.027Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"nvd": "{\"cve\":{\"id\":\"CVE-2023-54209\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-12-30T13:16:09.087\",\"lastModified\":\"2025-12-31T20:43:05.160\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nblock: fix blktrace debugfs entries leakage\\n\\nCommit 99d055b4fd4b (\\\"block: remove per-disk debugfs files in\\nblk_unregister_queue\\\") moves blk_trace_shutdown() from\\nblk_release_queue() to blk_unregister_queue(), this is safe if blktrace\\nis created through sysfs, however, there is a regression in corner\\ncase.\\n\\nblktrace can still be enabled after del_gendisk() through ioctl if\\nthe disk is opened before del_gendisk(), and if blktrace is not shutdown\\nthrough ioctl before closing the disk, debugfs entries will be leaked.\\n\\nFix this problem by shutdown blktrace in disk_release(), this is safe\\nbecause blk_trace_remove() is reentrant.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/7149e57cf01184fba175589f8fbe9fbf33be02e1\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/942e81650b81b4ca62f1d8c61de455c9e7c7e6ca\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/aa07e56c6a9c7558165690d14eed4fe8babf34fb\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/dd7de3704af9989b780693d51eaea49a665bd9c2\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
}
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…