{"id":"CVE-2026-142947","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-12-03T04:18:36.513","lastModified":"2026-12-03T04:18:36.513","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ncxl/core: Skip einj_inject creation when devm_add_action_or_reset() fails\n\ncxl_debugfs_create_dport_dir() ignores the devm_add_action_or_reset()\nresult and creates the einj_inject file below @dir unconditionally.\n\nWhen the devres allocation fails, remove_debugfs() has already run\nbefore devm_add_action_or_reset() returns, i.e. debugfs_remove() has\nreleased @dir. The subsequent debugfs_create_file() would then use\nthat dentry as its parent although its final reference was dropped in\nthe removal and its memory is subject to call_rcu() delayed freeing.\n\nSkip the file creation in that case, consistent with how the rest of\nthe helper tolerates debugfs failures."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["drivers/cxl/core/port.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"024bb06e2575088d58b782bd7892e13612c15d7b","versionType":"git","status":"affected"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"7259fcafd28c2c4b38978cda23241d4180ca20ad","versionType":"git","status":"affected"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"b25af6afd2f26b455108bab03dfeba52378e8dd2","versionType":"git","status":"affected"},{"version":"0","lessThan":"6.18.65","versionType":"semver","status":"affected"},{"version":"0","lessThan":"7.3.6","versionType":"semver","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["drivers/cxl/core/port.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"6.18.65","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.6","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc1","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/024bb06e2575088d58b782bd7892e13612c15d7b","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/7259fcafd28c2c4b38978cda23241d4180ca20ad","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/b25af6afd2f26b455108bab03dfeba52378e8dd2","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}