Overview
About vulnerability
In the Linux kernel, the following vulnerability has been resolved:
net: bridge: use a stable FDB dst snapshot in RCU readers
Local FDB entries can be rewritten in place by fdb_delete_local(), which
updates f->dst to another port or to NULL while keeping the entry
alive. Several bridge RCU readers inspect f->dst, including
br_fdb_fillbuf() through the brforward_read() sysfs path.
These readers currently load f->dst multiple times and can therefore
observe inconsistent values across the check and later dereference.
In br_fdb_fillbuf(), this means a concurrent local-FDB update can change
f->dst after the NULL check and before the port_no dereference,
leading to a NULL-ptr-deref.
Fix this by taking a single READ_ONCE() snapshot of f->dst in each
affected RCU reader and using that snapshot for the rest of the access
sequence. Also publish the in-place f->dst updates in fdb_delete_local()
with WRITE_ONCE() so the readers and writer use matching access patterns.
Details
- Affected product:
- AlmaLinux 9.2 ESU , Amazon Linux 2 ELS , CentOS 7 ELS , CentOS 8.4 ELS , CentOS 8.5 ELS , CentOS Stream 8 ELS , Debian 10 ELS , Oracle Linux 7 ELS , RHEL 7 ELS , TuxCare 9.6 ESU , Ubuntu 16.04 ELS , Ubuntu 18.04 ELS , Ubuntu 20.04 ELS
- Affected packages:
- kernel @ 3.10.0 (+13 more)
Fixes
KernelCare state
Live-patch status from KernelCare for each operating system.
| Operating system | Status | Covered kernels |
|---|---|---|
| AlmaLinux 10 | In Rollout |
55 kernels
|
| AlmaLinux 8 | Released |
117 kernels
|
| AlmaLinux 9 | Released |
116 kernels
|
| Amazon Linux 2023 | Planned | — |
| CentOS 8 | Released |
33 kernels
|
| CloudLinux OS 7h | Released |
113 kernels
|
| CloudLinux OS 8 | Released |
108 kernels
|
| Debian 11 | Released |
37 kernels
|
| Debian 11 cloud | Released |
17 kernels
|
| Debian 12 | Released |
40 kernels
|
| Debian 13 | Released |
6 kernels
|
| Oracle Linux 10 | In Rollout |
40 kernels
|
| Oracle Linux 8 | Released |
136 kernels
|
| Oracle Linux 9 | Released |
115 kernels
|
| RHEL 10 | In Rollout |
54 kernels
|
| RHEL 8 | Released |
133 kernels
|
| RHEL 9 | Released |
114 kernels
|
| Rocky Linux 10 | In Rollout |
37 kernels
|
| Rocky Linux 8 | Released |
95 kernels
|
| Rocky Linux 9 | Released |
91 kernels
|
| Ubuntu 24.04 | Planned | — |