CVE-2024-51729

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-51729
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-51729.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-51729
Downstream
Related
Published
2025-01-11T12:35:38Z
Modified
2025-10-17T16:51:12.025930Z
Summary
mm: use aligned address in copy_user_gigantic_page()
Details

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

mm: use aligned address in copyusergigantic_page()

In current kernel, hugetlbwp() calls copyuserlargefolio() with the fault address. Where the fault address may be not aligned with the huge page size. Then, copyuserlargefolio() may call copyusergiganticpage() with the address, while copyusergiganticpage() requires the address to be huge page size aligned. So, this may cause memory corruption or information leak, addtional, use more obvious naming 'addrhint' instead of 'addr' for copyusergigantic_page().

References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
530dd9926dc16220d2fae0997f45cda94f5f0864
Fixed
cb12d61361ce769672c7c7bd32107252598cdd8b
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
530dd9926dc16220d2fae0997f45cda94f5f0864
Fixed
f5d09de9f1bf9674c6418ff10d0a40cfe29268e1

Affected versions

v6.*

v6.10
v6.10-rc7
v6.11
v6.11-rc1
v6.11-rc2
v6.11-rc3
v6.11-rc4
v6.11-rc5
v6.11-rc6
v6.11-rc7
v6.12
v6.12-rc1
v6.12-rc2
v6.12-rc3
v6.12-rc4
v6.12-rc5
v6.12-rc6
v6.12-rc7
v6.12.1
v6.12.2
v6.12.3
v6.12.4
v6.12.5
v6.12.6
v6.13-rc1
v6.13-rc2
v6.13-rc3

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.11.0
Fixed
6.12.7