{"id":"CVE-2026-99486","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-11-19T15:18:03.380","lastModified":"2026-11-19T15:18:03.380","vulnStatus":"Received","cveTags":[],"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":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["rust/kernel/configfs.rs"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"446cafc295bfc0e89da94a482fe8290bd8b429fb","lessThan":"dc1744584b2b9cd8a04e1b824f72bfec0e3c3374","versionType":"git","status":"affected"},{"version":"446cafc295bfc0e89da94a482fe8290bd8b429fb","lessThan":"b91e8d8c2ed97b49a2fd6c2c9516586a8f2aa3c0","versionType":"git","status":"affected"},{"version":"446cafc295bfc0e89da94a482fe8290bd8b429fb","lessThan":"e84c9b64df615e658e47561b835c1364dc48f0c0","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["rust/kernel/configfs.rs"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"6.16","status":"affected"},{"version":"0","lessThan":"6.16","versionType":"semver","status":"unaffected"},{"version":"6.18.61","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.2","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/b91e8d8c2ed97b49a2fd6c2c9516586a8f2aa3c0","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/dc1744584b2b9cd8a04e1b824f72bfec0e3c3374","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/e84c9b64df615e658e47561b835c1364dc48f0c0","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}