Executive Summary

Informations
Name CVE-2024-42234 First vendor Publication 2024-08-07
Vendor Cve Last vendor Modification 2024-08-08

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:

mm: fix crashes from deferred split racing folio migration

Even on 6.10-rc6, I've been seeing elusive "Bad page state"s (often on flags when freeing, yet the flags shown are not bad: PG_locked had been set and cleared??), and VM_BUG_ON_PAGE(page_ref_count(page) == 0)s from deferred_split_scan()'s folio_put(), and a variety of other BUG and WARN symptoms implying double free by deferred split and large folio migration.

6.7 commit 9bcef5973e31 ("mm: memcg: fix split queue list crash when large folio migration") was right to fix the memcg-dependent locking broken in 85ce2c517ade ("memcontrol: only transfer the memcg data for migration"), but missed a subtlety of deferred_split_scan(): it moves folios to its own local list to work on them without split_queue_lock, during which time folio->_deferred_list is not empty, but even the "right" lock does nothing to secure the folio and the list it is on.

Fortunately, deferred_split_scan() is careful to use folio_try_get(): so folio_migrate_mapping() can avoid the race by folio_undo_large_rmappable() while the old folio's reference count is temporarily frozen to 0 - adding such a freeze in the !mapping case too (originally, folio lock and unmapping and no swap cache left an anon folio unreachable, so no freezing was needed there: but the deferred split queue offers a way to reach it).

Original Source

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

CWE : Common Weakness Enumeration

% Id Name
100 % CWE-415 Double Free

CPE : Common Platform Enumeration

TypeDescriptionCount
Application 8
Os 3658

Sources (Detail)

https://git.kernel.org/stable/c/be9581ea8c058d81154251cb0695987098996cad
https://git.kernel.org/stable/c/fc7facce686b64201dbf0b9614cc1d0bfad70010
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
Date Informations
2025-03-29 03:39:02
  • Multiple Updates
2025-03-28 13:43:52
  • Multiple Updates
2025-03-28 03:17:26
  • Multiple Updates
2025-03-19 03:12:49
  • Multiple Updates
2025-03-18 03:25:44
  • Multiple Updates
2025-03-14 03:13:03
  • Multiple Updates
2025-03-06 14:09:34
  • Multiple Updates
2025-02-22 03:23:05
  • Multiple Updates
2025-01-08 03:04:12
  • Multiple Updates
2025-01-07 03:03:45
  • Multiple Updates
2024-12-25 03:02:23
  • Multiple Updates
2024-12-12 03:05:19
  • Multiple Updates
2024-11-23 03:02:23
  • Multiple Updates
2024-11-22 03:00:35
  • Multiple Updates
2024-11-20 02:58:55
  • Multiple Updates
2024-11-14 02:59:14
  • Multiple Updates
2024-11-09 02:59:15
  • Multiple Updates
2024-10-26 02:56:38
  • Multiple Updates
2024-10-25 02:58:33
  • Multiple Updates
2024-10-23 02:57:45
  • Multiple Updates
2024-10-03 02:53:04
  • Multiple Updates
2024-10-02 02:51:28
  • Multiple Updates
2024-09-15 02:49:10
  • Multiple Updates
2024-09-12 02:48:42
  • Multiple Updates
2024-09-07 02:47:42
  • Multiple Updates
2024-09-06 02:46:51
  • Multiple Updates
2024-09-04 02:50:04
  • Multiple Updates
2024-08-22 02:47:55
  • Multiple Updates
2024-08-08 21:27:43
  • Multiple Updates
2024-08-08 00:27:22
  • Multiple Updates
2024-08-07 21:27:25
  • First insertion