{"id":"CVE-2026-99486","published":"2026-11-19T14:43:25Z","modified":"2026-11-19T14:43:25Z","title":"rust: configfs: fix data offset calculation for subsystem callbacks","vendor":"Linux","product":"Linux","tier":"tail","description":{"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. ]","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00166,"percentile":0.06024,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/dc1744584b2b9cd8a04e1b824f72bfec0e3c3374","tags":[]},{"url":"https://git.kernel.org/stable/c/b91e8d8c2ed97b49a2fd6c2c9516586a8f2aa3c0","tags":[]},{"url":"https://git.kernel.org/stable/c/e84c9b64df615e658e47561b835c1364dc48f0c0","tags":[]}],"priority":{"score":1.2,"factors":[{"name":"EPSS percentile","points":1.2}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 446cafc295bfc0e89da94a482fe8290bd8b429fb, < dc1744584b2b9cd8a04e1b824f72bfec0e3c3374",">= 446cafc295bfc0e89da94a482fe8290bd8b429fb, < b91e8d8c2ed97b49a2fd6c2c9516586a8f2aa3c0",">= 446cafc295bfc0e89da94a482fe8290bd8b429fb, < e84c9b64df615e658e47561b835c1364dc48f0c0"]},{"vendor":"Linux","product":"Linux","versions":["6.16"]}],"euvd":{"id":"EUVD-2026-130161","exploited":false,"provenance":"source"}}