CVE-2022-48931: configfs: fix a race in configfs_{,un}register_subsystem()
Vulnerability summary
CVE-2022-48931 is a medium (CVSS 4.7) vulnerability in linux. EPSS estimates a 0.17% chance of exploitation in the next 30 days, higher than 5.7% of scored vulnerabilities.
Not severe (CVSS 4.7, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 8 · Related 8Timeline
- 22-08-2024PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: configfs: fix a race in configfs_{,un}register_subsystem() When configfs_register_subsystem() or configfs_unregister_subsystem() is executing link_group() or unlink_group(), it is possible that two processes add or delete list concurrently. Some unfortunate interleavings of them can cause kernel panic. One of cases is: A --> B --> C --> D A <-- B <-- C <-- D delete list_head *B | delete list_head *C --------------------------------|----------------------------------- configfs_unregister_subsystem | configfs_unregister_subsystem unlink_group | unlink_group unlink_obj | unlink_obj list_del_init | list_del_init __list_del_entry | __list_del_entry __list_del | __list_del // next == C | next->prev = prev | | next->prev = prev prev->next = next | | // prev == B | prev->next = next Fix this by adding mutex when calling link_group() or unlink_group(), but parent configfs_subsystem is NULL when config_item is root. So I create a mutex configfs_subsystem_mutex.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated4.7MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated4.7MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.17%
Chance of exploitation in the next 30 days
Percentile
6%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.17% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu100 products
- linuxAll versions (No fix recorded) | < 4.15.0-177.186 | < 5.4.0-117.132
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 4.15.0-1128.137 | < 5.4.0-1078.84
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 7063fbf2261194f72ee75afca67b3b38b554b5fa, < 40805099af11f68c5ca7dbcfacf455da8f99f622 | ≥ 7063fbf2261194f72ee75afca67b3b38b554b5fa, < d1654de19d42f513b6cfe955cc77e7f427e05a77 | ≥ 7063fbf2261194f72ee75afca67b3b38b554b5fa, < a37024f7757c25550accdebf49e497ad6ae239fe | ≥ 7063fbf2261194f72ee75afca67b3b38b554b5fa, < b7e2b91fcb5c78c414e33dc8d50642e307ca0c5a | ≥ 7063fbf2261194f72ee75afca67b3b38b554b5fa, < a7ab53d3c27dfe83bb594456b9f38a37796ec39b | ≥ 7063fbf2261194f72ee75afca67b3b38b554b5fa, < e7a66dd2687758718eddd79b542a95cf3aa488cc | ≥ 7063fbf2261194f72ee75afca67b3b38b554b5fa, < 3aadfd46858b1f64d4d6a0654b863e21aabff975 | ≥ 7063fbf2261194f72ee75afca67b3b38b554b5fa, < 84ec758fb2daa236026506868c8796b0500c047d | 2.6.16
- linux_kernel≥ 2.6.16, < 4.9.304 | ≥ 4.10, < 4.14.269 | ≥ 4.15, < 4.19.232 | ≥ 4.20, < 5.4.182 | ≥ 5.5, < 5.10.103 | ≥ 5.11, < 5.15.26 | ≥ 5.16, < 5.16.12
Debian1 product
- linux< 5.16.12-1
3 vendors · 103 products