{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-99486","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-09-25T10:25:14.418Z","datePublished":"2026-11-19T14:43:25.015Z","dateUpdated":"2026-11-19T14:43:25.015Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-11-19T14:43:25.015Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nrust: configfs: fix data offset calculation for subsystem callbacks\n\n`get_group_data()` chooses between `Group::<Parent>::container_of()` and\n`Subsystem::<Parent>::container_of()` based on whether `this` represents\nthe root group of a configfs subsystem. It detects this by checking\n`(*this).cg_subsys.is_null()`, but `link_group()` in `fs/configfs/dir.c`\nunconditionally sets `cg_subsys` for every `config_group` attached anywhere\nin a registered subsystem, including the subsystem's own `su_group`. The\nonly `config_group` with a NULL `cg_subsys` is the configfs root, on which\nuserspace cannot trigger callbacks. The check is therefore always false at\nruntime, and the `Subsystem` branch is dead. Subsystem-level callbacks\nreach the `Group` branch and may read `data` at the wrong offset.\n\nThus change the `is_root` check to correctly identify whether a group is a\nroot group by comparing `this` to `subsys.su_group`.\n\n[ Andreas: Fix clippy warning on 1.85.0 by moving safety comment. ]"}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["rust/kernel/configfs.rs"],"versions":[{"version":"446cafc295bfc0e89da94a482fe8290bd8b429fb","lessThan":"dc1744584b2b9cd8a04e1b824f72bfec0e3c3374","status":"affected","versionType":"git"},{"version":"446cafc295bfc0e89da94a482fe8290bd8b429fb","lessThan":"b91e8d8c2ed97b49a2fd6c2c9516586a8f2aa3c0","status":"affected","versionType":"git"},{"version":"446cafc295bfc0e89da94a482fe8290bd8b429fb","lessThan":"e84c9b64df615e658e47561b835c1364dc48f0c0","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["rust/kernel/configfs.rs"],"versions":[{"version":"6.16","status":"affected"},{"version":"0","lessThan":"6.16","status":"unaffected","versionType":"semver"},{"version":"6.18.61","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.2","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.16","versionEndExcluding":"6.18.61"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.16","versionEndExcluding":"7.3.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.16","versionEndExcluding":"7.4-rc1"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/dc1744584b2b9cd8a04e1b824f72bfec0e3c3374"},{"url":"https://git.kernel.org/stable/c/b91e8d8c2ed97b49a2fd6c2c9516586a8f2aa3c0"},{"url":"https://git.kernel.org/stable/c/e84c9b64df615e658e47561b835c1364dc48f0c0"}],"title":"rust: configfs: fix data offset calculation for subsystem callbacks","x_generator":{"engine":"bippy-1.2.0"}}}}