bpf: Drop task_to_inode and inet_conn_established from lsm sleepable hooks
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 423f16108c9d832bd96059d5c882c8ef6d76eb96 · < 989f1b93907de1753a814996222da375f07e579b| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
bpf: Drop task_to_inode and inet_conn_established from lsm sleepable hooks
bpf_lsm_task_to_inode() is called under rcu_read_lock() and bpf_lsm_inet_conn_established() is called from softirq context, so neither hook can be used by sleepable LSM programs.
From the CVE record · Linux
The Linux kernel allowed sleepable BPF LSM programs to use two hooks that run in contexts where sleeping is not permitted: task_to_inode under an RCU read lock and inet_conn_established in softirq context. The input does not specify what an attacker could do, whether access or user interaction is needed, or an affected version range.
Engineers running the Linux kernel should check their versions; the affected versions are not specified.