Executive Summary

Informations
Name CVE-2022-48931 First vendor Publication 2024-08-22
Vendor Cve Last vendor Modification 2024-08-23

Security-Database Scoring CVSS v3

Cvss vector : CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Overall CVSS Score 4.7
Base Score 4.7 Environmental Score 4.7
impact SubScore 3.6 Temporal Score 4.7
Exploitabality Sub Score 1
 
Attack Vector Local Attack Complexity High
Privileges Required Low User Interaction None
Scope Unchanged Confidentiality Impact None
Integrity Impact None Availability Impact High
Calculate full CVSS 3.0 Vectors scores

Security-Database Scoring CVSS v2

Cvss vector :
Cvss Base Score N/A Attack Range N/A
Cvss Impact Score N/A Attack Complexity N/A
Cvss Expoit Score N/A Authentication N/A
Calculate full CVSS 2.0 Vectors scores

Detail

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.

Original Source

Url : http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-48931

CWE : Common Weakness Enumeration

% Id Name
100 % CWE-362 Race Condition

CPE : Common Platform Enumeration

TypeDescriptionCount
Application 7
Os 3504

Sources (Detail)

https://git.kernel.org/stable/c/3aadfd46858b1f64d4d6a0654b863e21aabff975
https://git.kernel.org/stable/c/40805099af11f68c5ca7dbcfacf455da8f99f622
https://git.kernel.org/stable/c/84ec758fb2daa236026506868c8796b0500c047d
https://git.kernel.org/stable/c/a37024f7757c25550accdebf49e497ad6ae239fe
https://git.kernel.org/stable/c/a7ab53d3c27dfe83bb594456b9f38a37796ec39b
https://git.kernel.org/stable/c/b7e2b91fcb5c78c414e33dc8d50642e307ca0c5a
https://git.kernel.org/stable/c/d1654de19d42f513b6cfe955cc77e7f427e05a77
https://git.kernel.org/stable/c/e7a66dd2687758718eddd79b542a95cf3aa488cc
Source Url

Alert History

If you want to see full details history, please login or register.
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Date Informations
2025-01-08 02:47:31
  • Multiple Updates
2025-01-07 02:47:08
  • Multiple Updates
2024-12-25 02:45:55
  • Multiple Updates
2024-12-12 02:48:49
  • Multiple Updates
2024-11-22 02:46:13
  • Multiple Updates
2024-11-20 02:43:37
  • Multiple Updates
2024-11-14 02:43:29
  • Multiple Updates
2024-11-09 02:44:08
  • Multiple Updates
2024-10-26 02:41:53
  • Multiple Updates
2024-10-25 02:43:39
  • Multiple Updates
2024-10-23 02:43:03
  • Multiple Updates
2024-10-03 02:39:07
  • Multiple Updates
2024-10-02 02:37:31
  • Multiple Updates
2024-09-04 02:36:46
  • Multiple Updates
2024-08-23 09:27:28
  • Multiple Updates
2024-08-23 02:48:13
  • Multiple Updates
2024-08-23 02:34:45
  • Multiple Updates
2024-08-22 17:27:24
  • Multiple Updates
2024-08-22 09:27:25
  • First insertion