liveupdate: Reference count incoming FLB data
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
liveupdate: Reference count incoming FLB data
Increment the incoming FLB refcount in liveupdate_flb_get_incoming() so that the FLB structure cannot be freed while the caller is actively using it. Add an additional liveupdate_flb_put_incoming() function so the caller can explicitly indicate when it is done using the FLB data.
During a Live Update, a subsystem might need to hold onto the incoming File-Lifecycle-Bound (FLB) data for an extended period, such as during device enumeration. Incrementing the reference count guarantees that the data remains valid and accessible until the subsystem releases it, preventing future use-after-free bugs.
From the CVE record · Linux
The Linux kernel's liveupdate code did not increment the reference count when a subsystem obtained incoming File-Lifecycle-Bound (FLB) data. During a Live Update, that data could be freed while the subsystem was still using it, creating a potential use-after-free condition. The input does not describe an attacker path or specify access or interaction requirements.
Engineers running Linux kernels with the affected liveupdate code should check their kernel version against the vendor advisory; affected versions are not specified in the input.