Security mailing lists by PureSourceCode

CVE-2024-36943

MEDIUM 4.7CVSS 3.1

In the Linux kernel, the following vulnerability has been resolved:

fs/proc/task_mmu: fix loss of young/dirty bits during pagemap scan

make_uffd_wp_pte() was previously doing:

pte = ptep_get(ptep);
ptep_modify_prot_start(ptep);
pte = pte_mkuffd_wp(pte);
ptep_modify_prot_commit(ptep, pte);

But if another thread accessed or dirtied the pte between the first 2
calls, this could lead to loss of that information. Since
ptep_modify_prot_start() gets and clears atomically, the following is the
correct pattern and prevents any possible race. Any access after the
first call would see an invalid pte and cause a fault:

pte = ptep_modify_prot_start(ptep);
pte = pte_mkuffd_wp(pte);
ptep_modify_prot_commit(ptep, pte);

Published
30 May 2024
Last modified
4 Aug 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Modified
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) CVSS 3.1 HIGH 7.3 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 4.7 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 6.7, < 6.8.10 6.8.10
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.9:rc1:*:*:*:*:*:*
= 6.9
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.9:rc2:*:*:*:*:*:*
= 6.9
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.9:rc3:*:*:*:*:*:*
= 6.9
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.9:rc4:*:*:*:*:*:*
= 6.9
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.9:rc5:*:*:*:*:*:*
= 6.9
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.9:rc6:*:*:*:*:*:*
= 6.9
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.9:rc7:*:*:*:*:*:*
= 6.9

References

History

  • 25 Nov 2026 20:55 UTC · NVD: first stored (published 30 May 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.