Executive Summary

Informations
Name CVE-2024-58042 First vendor Publication 2025-02-27
Vendor Cve Last vendor Modification 2025-03-05

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:

rhashtable: Fix potential deadlock by moving schedule_work outside lock

Move the hash table growth check and work scheduling outside the rht lock to prevent a possible circular locking dependency.

The original implementation could trigger a lockdep warning due to a potential deadlock scenario involving nested locks between rhashtable bucket, rq lock, and dsq lock. By relocating the growth check and work scheduling after releasing the rth lock, we break this potential deadlock chain.

This change expands the flexibility of rhashtable by removing restrictive locking that previously limited its use in scheduler and workqueue contexts.

Import to say that this calls rht_grow_above_75(), which reads from struct rhashtable without holding the lock, if this is a problem, we can move the check to the lock, and schedule the workqueue after the lock.

Modified so that atomic_inc is also moved outside of the bucket lock along with the growth above 75% check.

Original Source

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

CWE : Common Weakness Enumeration

% Id Name
100 % CWE-667 Insufficient Locking

CPE : Common Platform Enumeration

TypeDescriptionCount
Application 8
Os 3701

Sources (Detail)

https://git.kernel.org/stable/c/ced8ce3c83a7150c5f5d371a8c332d7bc7f9b66d
https://git.kernel.org/stable/c/e1d3422c95f003eba241c176adfe593c33e8a8f6
https://git.kernel.org/stable/c/eb2e58484b838fb4e777ee9721bb9e20e6ca971d
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
Date Informations
2025-03-29 03:44:59
  • Multiple Updates
2025-03-28 13:48:12
  • Multiple Updates
2025-03-28 03:22:48
  • Multiple Updates
2025-03-25 16:28:47
  • Multiple Updates
2025-03-25 03:28:43
  • Multiple Updates
2025-03-19 03:17:32
  • Multiple Updates
2025-03-18 03:30:31
  • Multiple Updates
2025-03-14 00:20:57
  • Multiple Updates
2025-03-13 21:20:55
  • Multiple Updates
2025-03-06 14:14:08
  • Multiple Updates
2025-03-06 03:09:44
  • Multiple Updates
2025-03-05 17:20:43
  • Multiple Updates
2025-02-28 00:20:32
  • First insertion