{"id":"CVE-2026-99486","aliases":["CVE-2026-99486"],"related":[],"kind":"vulnerability","state":"published","title":"rust: configfs: fix data offset calculation for subsystem callbacks","summary":"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. ]","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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. ]","source":"cvelist"}],"published":"2026-11-19T14:43:25.015Z","modified":"2026-11-19T15:18:03.380Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"446cafc295bfc0e89da94a482fe8290bd8b429fb","fixed":"dc1744584b2b9cd8a04e1b824f72bfec0e3c3374","status":"affected"},{"type":"git","introduced":"446cafc295bfc0e89da94a482fe8290bd8b429fb","fixed":"b91e8d8c2ed97b49a2fd6c2c9516586a8f2aa3c0","status":"affected"},{"type":"git","introduced":"446cafc295bfc0e89da94a482fe8290bd8b429fb","fixed":"e84c9b64df615e658e47561b835c1364dc48f0c0","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.16","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.16","status":"unaffected"},{"type":"semver","introduced":"6.18.61","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.2","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/dc1744584b2b9cd8a04e1b824f72bfec0e3c3374","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b91e8d8c2ed97b49a2fd6c2c9516586a8f2aa3c0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e84c9b64df615e658e47561b835c1364dc48f0c0","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99486","url":"https://www.cve.org/CVERecord?id=CVE-2026-99486","licence":"CVE Terms of Use","modified":"2026-11-19T14:43:25.015Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99486","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99486","licence":"Public domain","modified":"2026-11-19T15:18:03.380Z"}],"updatedAt":"2026-11-25T22:59:52.090Z","epss":{"score":0.00166,"percentile":0.06194,"date":"2026-12-01T12:00:22.000Z"}}