Executive Summary

Informations
Name CVE-2024-39476 First vendor Publication 2024-07-05
Vendor Cve Last vendor Modification 2024-11-21

Security-Database Scoring CVSS v3

Cvss vector : CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Overall CVSS Score 5.5
Base Score 5.5 Environmental Score 5.5
impact SubScore 3.6 Temporal Score 5.5
Exploitabality Sub Score 1.8
 
Attack Vector Local Attack Complexity Low
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:

md/raid5: fix deadlock that raid5d() wait for itself to clear MD_SB_CHANGE_PENDING

Xiao reported that lvm2 test lvconvert-raid-takeover.sh can hang with small possibility, the root cause is exactly the same as commit bed9e27baf52 ("Revert "md/raid5: Wait for MD_SB_CHANGE_PENDING in raid5d"")

However, Dan reported another hang after that, and junxiao investigated the problem and found out that this is caused by plugged bio can't issue from raid5d().

Current implementation in raid5d() has a weird dependence:

1) md_check_recovery() from raid5d() must hold 'reconfig_mutex' to clear
MD_SB_CHANGE_PENDING; 2) raid5d() handles IO in a deadloop, until all IO are issued; 3) IO from raid5d() must wait for MD_SB_CHANGE_PENDING to be cleared;

This behaviour is introduce before v2.6, and for consequence, if other context hold 'reconfig_mutex', and md_check_recovery() can't update super_block, then raid5d() will waste one cpu 100% by the deadloop, until 'reconfig_mutex' is released.

Refer to the implementation from raid1 and raid10, fix this problem by skipping issue IO if MD_SB_CHANGE_PENDING is still set after md_check_recovery(), daemon thread will be woken up when 'reconfig_mutex' is released. Meanwhile, the hang problem will be fixed as well.

Original Source

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

CWE : Common Weakness Enumeration

% Id Name
100 % CWE-667 Insufficient Locking

CPE : Common Platform Enumeration

TypeDescriptionCount
Application 8
Os 3668

Sources (Detail)

https://git.kernel.org/stable/c/098d54934814dd876963abfe751c3b1cf7fbe56a
https://git.kernel.org/stable/c/151f66bb618d1fd0eeb84acb61b4a9fa5d8bb0fa
https://git.kernel.org/stable/c/3f8d5e802d4cedd445f9a89be8c3fd2d0e99024b
https://git.kernel.org/stable/c/634ba3c97ec413cb10681c7b196db43ee461ecf4
https://git.kernel.org/stable/c/aa64464c8f4d2ab92f6d0b959a1e0767b829d787
https://git.kernel.org/stable/c/b32aa95843cac6b12c2c014d40fca18aef24a347
https://git.kernel.org/stable/c/cd2538e5af495b3c747e503db346470fc1ffc447
https://git.kernel.org/stable/c/e332a12f65d8fed8cf63bedb4e9317bb872b9ac7
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
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Date Informations
2025-06-26 02:32:31
  • Multiple Updates
2025-06-25 12:31:50
  • Multiple Updates
2025-06-24 02:37:10
  • Multiple Updates
2025-05-27 02:41:36
  • Multiple Updates
2025-03-29 03:37:53
  • Multiple Updates
2025-03-28 13:43:14
  • Multiple Updates
2025-03-28 03:16:31
  • Multiple Updates
2025-03-19 03:11:55
  • Multiple Updates
2025-03-18 03:24:48
  • Multiple Updates
2025-03-14 03:12:10
  • Multiple Updates
2025-03-06 14:08:34
  • Multiple Updates
2025-02-22 03:22:03
  • Multiple Updates
2025-01-08 03:03:25
  • Multiple Updates
2025-01-07 03:02:58
  • Multiple Updates
2024-12-25 03:01:36
  • Multiple Updates
2024-12-12 03:04:33
  • Multiple Updates
2024-11-25 09:24:16
  • Multiple Updates
2024-11-22 21:23:19
  • Multiple Updates
2024-11-21 21:22:56
  • Multiple Updates
2024-11-20 02:58:12
  • Multiple Updates
2024-11-14 02:58:31
  • Multiple Updates
2024-11-09 02:58:31
  • Multiple Updates
2024-10-26 02:55:55
  • Multiple Updates
2024-10-25 02:57:50
  • Multiple Updates
2024-10-23 02:57:03
  • Multiple Updates
2024-10-03 02:52:23
  • Multiple Updates
2024-10-02 02:50:47
  • Multiple Updates
2024-09-15 02:48:37
  • Multiple Updates
2024-09-12 02:48:10
  • Multiple Updates
2024-09-07 02:47:10
  • Multiple Updates
2024-09-06 02:46:22
  • Multiple Updates
2024-09-04 02:49:35
  • Multiple Updates
2024-08-22 02:47:35
  • Multiple Updates
2024-08-02 13:56:34
  • Multiple Updates
2024-08-02 01:35:47
  • Multiple Updates
2024-07-08 21:27:30
  • Multiple Updates
2024-07-05 17:27:24
  • Multiple Updates
2024-07-05 13:27:27
  • First insertion