{"id":"CVE-2026-99486","summary":"rust: configfs: fix data offset calculation for subsystem callbacks","details":"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::\u003cParent\u003e::container_of()` and\n`Subsystem::\u003cParent\u003e::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. ]","modified":"2026-11-19T17:01:25.496377087Z","published":"2026-11-19T14:43:25.015Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99486.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b91e8d8c2ed97b49a2fd6c2c9516586a8f2aa3c0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/dc1744584b2b9cd8a04e1b824f72bfec0e3c3374"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e84c9b64df615e658e47561b835c1364dc48f0c0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99486.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99486"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"446cafc295bfc0e89da94a482fe8290bd8b429fb"},{"fixed":"dc1744584b2b9cd8a04e1b824f72bfec0e3c3374"},{"fixed":"b91e8d8c2ed97b49a2fd6c2c9516586a8f2aa3c0"},{"fixed":"e84c9b64df615e658e47561b835c1364dc48f0c0"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99486.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.16.0"},{"fixed":"6.18.61"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.2"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99486.json"}}],"schema_version":"1.9.2"}