{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-53172","id":"CVE-2024-53172","title":"ubi: fastmap: Fix duplicate slab cache names while attaching","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nubi: fastmap: Fix duplicate slab cache names while attaching\n\nSince commit 4c39529663b9 (\"slab: Warn on duplicate cache names when\nDEBUG_VM=y\"), the duplicate slab cache names can be detected and a\nkernel WARNING is thrown out.\nIn UBI fast attaching process, alloc_ai() could be invoked twice\nwith the same slab cache name 'ubi_aeb","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nubi: fastmap: Fix duplicate slab cache names while attaching\n\nSince commit 4c39529663b9 (\"slab: Warn on duplicate cache names when\nDEBUG_VM=y\"), the duplicate slab cache names can be detected and a\nkernel WARNING is thrown out.\nIn UBI fast attaching process, alloc_ai() could be invoked twice\nwith the same slab cache name 'ubi_aeb_slab_cache', which will trigger\nfollowing warning messages:\n kmem_cache of name 'ubi_aeb_slab_cache' already exists\n WARNING: CPU: 0 PID: 7519 at mm/slab_common.c:107\n          __kmem_cache_create_args+0x100/0x5f0\n Modules linked in: ubi(+) nandsim [last unloaded: nandsim]\n CPU: 0 UID: 0 PID: 7519 Comm: modprobe Tainted: G 6.12.0-rc2\n RIP: 0010:__kmem_cache_create_args+0x100/0x5f0\n Call Trace:\n   __kmem_cache_create_args+0x100/0x5f0\n   alloc_ai+0x295/0x3f0 [ubi]\n   ubi_attach+0x3c3/0xcc0 [ubi]\n   ubi_attach_mtd_dev+0x17cf/0x3fa0 [ubi]\n   ubi_init+0x3fb/0x800 [ubi]\n   do_init_module+0x265/0x7d0\n   __x64_sys_finit_module+0x7a/0xc0\n\nThe problem could be easily reproduced by loading UBI device by fastmap\nwith CONFIG_DEBUG_VM=y.\nFix it by using different slab names for alloc_ai() callers.","published":"2024-12-27T13:49:17.267Z","updated":"2026-11-07T02:30:27.053575804Z","reserved":"2024-11-19T17:17:25.006Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d2158f69a7d469c21c37f7028c18aa8c54707de3","lessThan":"ef52b7191ac41e68b1bf070d00c5b04ed16e4920","status":"affected","versionType":"git"},{"version":"d2158f69a7d469c21c37f7028c18aa8c54707de3","lessThan":"871c148f8e0c32e505df9393ba4a303c3c3fe988","status":"affected","versionType":"git"},{"version":"d2158f69a7d469c21c37f7028c18aa8c54707de3","lessThan":"04c0b0f37617099479c34e207c5550d081f585a6","status":"affected","versionType":"git"},{"version":"d2158f69a7d469c21c37f7028c18aa8c54707de3","lessThan":"b1ee0aa4945c49cbbd779da81040fcec4de80fd1","status":"affected","versionType":"git"},{"version":"d2158f69a7d469c21c37f7028c18aa8c54707de3","lessThan":"6afdcb285794e75d2c8995e3a44f523c176cc2de","status":"affected","versionType":"git"},{"version":"d2158f69a7d469c21c37f7028c18aa8c54707de3","lessThan":"612824dd0c9465ef365ace38b056c663d110956d","status":"affected","versionType":"git"},{"version":"d2158f69a7d469c21c37f7028c18aa8c54707de3","lessThan":"3d8558135cd56a2a8052024be4073e160f36658c","status":"affected","versionType":"git"},{"version":"d2158f69a7d469c21c37f7028c18aa8c54707de3","lessThan":"7402c4bcb8a3f0d2ef4e687cd45c76be489cf509","status":"affected","versionType":"git"},{"version":"d2158f69a7d469c21c37f7028c18aa8c54707de3","lessThan":"bcddf52b7a17adcebc768d26f4e27cf79adb424c","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.1","status":"affected"},{"version":"0","lessThan":"4.1","status":"unaffected","versionType":"semver"},{"version":"4.19.325","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.287","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.231","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.174","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.120","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.64","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.11.11","lessThanOrEqual":"6.11.*","status":"unaffected","versionType":"semver"},{"version":"6.12.2","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.13","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/ef52b7191ac41e68b1bf070d00c5b04ed16e4920","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/871c148f8e0c32e505df9393ba4a303c3c3fe988","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/04c0b0f37617099479c34e207c5550d081f585a6","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/b1ee0aa4945c49cbbd779da81040fcec4de80fd1","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/6afdcb285794e75d2c8995e3a44f523c176cc2de","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/612824dd0c9465ef365ace38b056c663d110956d","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/3d8558135cd56a2a8052024be4073e160f36658c","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/7402c4bcb8a3f0d2ef4e687cd45c76be489cf509","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/bcddf52b7a17adcebc768d26f4e27cf79adb424c","tags":["Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html","tags":["web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53172.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-53172","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.0025,"epssPercentile":0.16459,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-53172","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-53172","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-53172","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-53172","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}