CVE-2026-43489: liveupdate: luo_file: remember retrieve() status
In the Linux kernel, the following vulnerability has been resolved:
liveupdate: luofile: remember retrieve() status
LUO keeps track of successful retrieve attempts on a LUO file. It does so to avoid multiple retrievals of the same file. Multiple retrievals cause problems because once the file is retrieved, the serialized data structures are likely freed and the file is likely in a very different state from what the code expects.
The retrieve boolean in struct luofile keeps track of this, and is passed to the finish callback so it knows what work was already done and what it has left to do.
All this works well when retrieve succeeds. When it fails, luoretrievefile() returns the error immediately, without ever storing anywhere that a retrieve was attempted or what its error code was. This results in an errored LIVEUPDATESESSIONRETRIEVEFD ioctl to userspace, but nothing prevents it from trying this again.
The retry is problematic for much of the same reasons listed above. The file is likely in a very different state than what the retrieve logic normally expects, and it might even have freed some serialization data structures. Attempting to access them or free them again is going to break things.
For example, if memfd managed to restore 8 of its 10 folios, but fails on the 9th, a subsequent retrieve attempt will try to call khorestorefolio() on the first folio again, and that will fail with a warning since it is an invalid operation.
Apart from the retry, finish() also breaks. Since on failure the retrieved bool in luofile is never touched, the finish() call on session close will tell the file handler that retrieve was never attempted, and it will try to access or free the data structures that might not exist, much in the same way as the retry attempt.
There is no sane way of attempting the retrieve again. Remember the error retrieve returned and directly return it on a retry. Also pass this status code to finish() so it can make the right decision on the work it needs to do.
This is done by changing the bool to an integer. A value of 0 means retrieve was never attempted, a positive value means it succeeded, and a negative value means it failed and the error code is the value.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-43489?
CVE-2026-43489 is considered to have low severity as it relates to retrieval tracking in the Linux kernel without critical impact.
How do I fix CVE-2026-43489?
To fix CVE-2026-43489, update your Linux kernel to the latest stable version where the vulnerability has been patched.
What versions of the Linux kernel are affected by CVE-2026-43489?
CVE-2026-43489 affects several versions of the Linux kernel prior to the patch release.
What does CVE-2026-43489 affect in the Linux kernel?
CVE-2026-43489 affects the liveupdate's ability to keep track of retrieval status in LUO files.
Is CVE-2026-43489 a remote code execution vulnerability?
No, CVE-2026-43489 is not a remote code execution vulnerability; it relates to internal tracking logic.