Overview
About vulnerability
In the Linux kernel, the following vulnerability has been resolved:
pNFS: Fix use-after-free in pnfs_update_layout()
When hitting the NFS_LAYOUT_RETURN branch in pnfs_update_layout(), the code calls pnfs_prepare_to_retry_layoutget(lo). If it succeeds, pnfs_put_layout_hdr(lo) is called before trace_pnfs_update_layout(), which still references ’lo’. This results in a use-after-free when the tracepoint accesses lo’s fields.
Fix this by moving the tracepoint call before pnfs_put_layout_hdr(lo).
Details
- Affected product:
- AlmaLinux 9.2 ESU , CentOS 8.4 ELS , CentOS 8.5 ELS , CentOS Stream 8 ELS , Debian 11 ELS , TuxCare 9.6 ESU
- Affected packages:
- kernel @ 5.14.0 (+5 more)
Fixes
KernelCare state
Live-patch status from KernelCare for each operating system.
| Operating system | Status | Covered kernels |
|---|---|---|
| AlmaLinux 10 | In Rollout |
61 kernels
|
| AlmaLinux 9 | Released |
128 kernels
|
| AlmaLinux 9.2 ESU | Released |
33 kernels
|
| AlmaLinux 9.6 ESU | Released |
18 kernels
|
| Amazon Linux 2023 | Ready For Release | — |
| Debian 11 | In Rollout |
44 kernels
|
| Debian 11 cloud | Released |
24 kernels
|
| Debian 13 | Planned | — |
| Oracle Linux 10 | In Rollout |
47 kernels
|
| Oracle Linux 9 | Released |
127 kernels
|
| RHEL 10 | In Rollout |
61 kernels
|
| RHEL 8 | Planned | — |
| RHEL 9 | Released |
126 kernels
|
| Rocky Linux 10 | In Rollout |
44 kernels
|
| Rocky Linux 9 | Released |
103 kernels
|