Overview
About vulnerability
In the Linux kernel, the following vulnerability has been resolved:
ksmbd: replace hardcoded hdr2_len with offsetof() in smb2_calc_max_out_buf_len()
After this commit (e2b76ab8b5c9 “ksmbd: add support for read compound”), response buffer management was changed to use dynamic iov array. In the new design, smb2_calc_max_out_buf_len() expects the second argument (hdr2_len) to be the offset of ->Buffer field in the response structure, not a hardcoded magic number. Fix the remaining call sites to use the correct offsetof() value.
Details
- Affected product:
- Ubuntu 20.04 ELS
- Affected packages:
- linux @ 5.4.0 (+1 more)
Fixes
KernelCare state
Live-patch status from KernelCare for each operating system.
| Operating system | Status | Covered kernels |
|---|---|---|
| Debian 12 | Released |
25 kernels
|
| Debian 13 | Planned | — |
| Proxmox VE 7 5.15 | Released |
4 kernels
|
| Ubuntu 20.04 HWE AWS | Released |
22 kernels
|
| Ubuntu 20.04 HWE Azure | Released |
21 kernels
|
| Ubuntu 22.04 | Released |
48 kernels
|
| Ubuntu 22.04 AWS | Released |
45 kernels
|
| Ubuntu 22.04 Azure | Released |
38 kernels
|
| Ubuntu 24.04 | Released |
45 kernels
|
| Ubuntu 24.04 AWS | Planned | — |