{"id":"CVE-2023-53613","aliases":["CVE-2023-53613"],"related":[],"kind":"vulnerability","state":"published","title":"dax: Fix dax_mapping_release() use after free","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndax: Fix dax_mapping_release() use after free\n\nA CONFIG_DEBUG_KOBJECT_RELEASE test of removing a device-dax region\nprovider (like modprobe -r dax_hmem) yields:\n\n kobject: 'mapping0' (ffff93eb460e8800): kobject_release, parent 0000000000000000 (delayed 2000)\n [..]\n DEBUG_LOCKS_WARN_ON(1)\n WARNING: CPU: 23 PID: 282 at kernel/locking/lockdep.c:232 __lock_acquire+0x9fc/0x2260\n [..]\n RIP: 0010:__lock_acquire+0x9fc/0x2260\n [..]\n Call Trace:\n  <TASK>\n [..]\n  lock_acquire+0xd4/0x2c0\n  ? ida_free+0x62/0x130\n  _raw_spin_lock_irqsave+0x47/0x70\n  ? ida_free+0x62/0x130\n  ida_free+0x62/0x130\n  dax_mapping_release+0x1f/0x30\n  device_release+0x36/0x90\n  kobject_delayed_cleanup+0x46/0x150\n\nDue to attempting ida_free() on an ida object that has already been\nfreed. Devices typically only hold a reference on their parent while\nregistered. If a child needs a parent object to complete its release it\nneeds to hold a reference that it drops from its release callback.\nArrange for a dax_mapping to pin its parent dev_dax instance until\ndax_mapping_release().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndax: Fix dax_mapping_release() use after free\n\nA CONFIG_DEBUG_KOBJECT_RELEASE test of removing a device-dax region\nprovider (like modprobe -r dax_hmem) yields:\n\n kobject: 'mapping0' (ffff93eb460e8800): kobject_release, parent 0000000000000000 (delayed 2000)\n [..]\n DEBUG_LOCKS_WARN_ON(1)\n WARNING: CPU: 23 PID: 282 at kernel/locking/lockdep.c:232 __lock_acquire+0x9fc/0x2260\n [..]\n RIP: 0010:__lock_acquire+0x9fc/0x2260\n [..]\n Call Trace:\n  <TASK>\n [..]\n  lock_acquire+0xd4/0x2c0\n  ? ida_free+0x62/0x130\n  _raw_spin_lock_irqsave+0x47/0x70\n  ? ida_free+0x62/0x130\n  ida_free+0x62/0x130\n  dax_mapping_release+0x1f/0x30\n  device_release+0x36/0x90\n  kobject_delayed_cleanup+0x46/0x150\n\nDue to attempting ida_free() on an ida object that has already been\nfreed. Devices typically only hold a reference on their parent while\nregistered. If a child needs a parent object to complete its release it\nneeds to hold a reference that it drops from its release callback.\nArrange for a dax_mapping to pin its parent dev_dax instance until\ndax_mapping_release().","source":"cvelist"}],"published":"2025-10-04T15:44:20.998Z","modified":"2026-06-17T06:45:43.053Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"0b07ce872a9eca1ff88c0eb7f6e92dde127d21ca","fixed":"94a85474f5e3e518bdbf8c9f51cb343d734a04f7","status":"affected"},{"type":"git","introduced":"0b07ce872a9eca1ff88c0eb7f6e92dde127d21ca","fixed":"9c2f993b6ca903c030d58451b5bf9ea27d0d17fa","status":"affected"},{"type":"git","introduced":"0b07ce872a9eca1ff88c0eb7f6e92dde127d21ca","fixed":"03859868ab82d57bfdd0cea1bf31f9319a5dded0","status":"affected"},{"type":"git","introduced":"0b07ce872a9eca1ff88c0eb7f6e92dde127d21ca","fixed":"f76db6781d76d8464ec2faa9752cc3fb2e4f6923","status":"affected"},{"type":"git","introduced":"0b07ce872a9eca1ff88c0eb7f6e92dde127d21ca","fixed":"7310b84821f043dcf77d5e6aa0ad55dc1e10a11d","status":"affected"},{"type":"git","introduced":"0b07ce872a9eca1ff88c0eb7f6e92dde127d21ca","fixed":"6d24b170a9db0456f577b1ab01226a2254c016a8","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.10","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.10","status":"unaffected"},{"type":"semver","introduced":"5.10.188","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.121","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.39","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.3.13","lastAffected":"6.3.*","status":"unaffected"},{"type":"semver","introduced":"6.4.4","lastAffected":"6.4.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.5","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.10","fixed":"5.10.188"},{"status":"affected","introduced":"5.11","fixed":"5.15.121"},{"status":"affected","introduced":"5.16","fixed":"6.1.39"},{"status":"affected","introduced":"6.2","fixed":"6.3.13"},{"status":"affected","introduced":"6.4","fixed":"6.4.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/94a85474f5e3e518bdbf8c9f51cb343d734a04f7","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9c2f993b6ca903c030d58451b5bf9ea27d0d17fa","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/03859868ab82d57bfdd0cea1bf31f9319a5dded0","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f76db6781d76d8464ec2faa9752cc3fb2e4f6923","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7310b84821f043dcf77d5e6aa0ad55dc1e10a11d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6d24b170a9db0456f577b1ab01226a2254c016a8","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-53613","url":"https://www.cve.org/CVERecord?id=CVE-2023-53613","licence":"CVE Terms of Use","modified":"2026-05-11T19:48:32.814Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-53613","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53613","licence":"Public domain","modified":"2026-06-17T06:45:43.053Z"}],"updatedAt":"2026-11-25T22:58:34.967Z","epss":{"score":0.00152,"percentile":0.04609,"date":"2026-12-01T12:00:22.000Z"}}