---
title: "torvalds/linux: functions and files changed by CVE fixes"
url: https://radicalnotion.ai/fixes/torvalds/linux
type: fixes-repository
description: "20,621 CVE fixes in torvalds/linux changed 37,941 functions across 10,933 files."
updated: 2026-11-20
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# torvalds/linux: patched functions

- **CVEs with a located fix:** 20,621
- **Functions patched:** 37,941
- **Files patched:** 10,933
- **Diff hunks:** 350,208
- **Languages:** c, assembly, rust
- **Rank by CVE fixes:** 1 of 12,313
- **First fix:** 2006-05-09
- **Latest fix:** 2026-11-20
- **Repository:** [https://github.com/torvalds/linux](https://github.com/torvalds/linux)

## Typical fix size

- Median lines changed per fix: 26
- Fixes touching a single function: 52%
- Fixes under 20 changed lines: 43%

## Most-patched functions

| Function | File | CVEs | Patches | Last fixed |
| --- | --- | --- | --- | --- |
| [bcm\_rx\_setup](https://radicalnotion.ai/fixes/torvalds/linux/bcm_rx_setup) | net/can/bcm.c | 12 | 99 | 2026-08-15 |
| [smb2\_open](https://radicalnotion.ai/fixes/torvalds/linux/smb2_open) | fs/smb/server/smb2pdu.c | 17 | 79 | 2026-11-20 |
| [smb2\_sess\_setup](https://radicalnotion.ai/fixes/torvalds/linux/smb2_sess_setup) | fs/smb/server/smb2pdu.c | 16 | 75 | 2026-11-19 |
| [bcm\_tx\_setup](https://radicalnotion.ai/fixes/torvalds/linux/bcm_tx_setup) | net/can/bcm.c | 7 | 59 | 2026-08-15 |
| [isotp\_release](https://radicalnotion.ai/fixes/torvalds/linux/isotp_release) | net/can/isotp.c | 7 | 56 | 2026-11-20 |
| [amdgpu\_uvd\_cs\_msg\_decode](https://radicalnotion.ai/fixes/torvalds/linux/amdgpu_uvd_cs_msg_decode) | drivers/gpu/drm/amd/amdgpu/amdgpu\_uvd.c | 5 | 55 | 2026-09-04 |
| [smb2\_lock](https://radicalnotion.ai/fixes/torvalds/linux/smb2_lock) | fs/smb/server/smb2pdu.c | 8 | 52 | 2026-09-17 |
| [nf\_tables\_commit](https://radicalnotion.ai/fixes/torvalds/linux/nf_tables_commit) | net/netfilter/nf\_tables\_api.c | 7 | 52 | 2026-09-17 |
| [adjust\_ptr\_min\_max\_vals](https://radicalnotion.ai/fixes/torvalds/linux/adjust_ptr_min_max_vals) | kernel/bpf/verifier.c | 13 | 50 | 2026-09-25 |
| [ring\_buffer\_subbuf\_order\_set](https://radicalnotion.ai/fixes/torvalds/linux/ring_buffer_subbuf_order_set) | kernel/trace/ring\_buffer.c | 8 | 49 | 2026-09-25 |
| [ext4\_split\_extent\_at](https://radicalnotion.ai/fixes/torvalds/linux/ext4_split_extent_at) | fs/ext4/extents.c | 9 | 47 | 2026-05-27 |
| [copy\_process](https://radicalnotion.ai/fixes/torvalds/linux/copy_process) | kernel/fork.c | 13 | 46 | 2026-10-18 |
| [btusb\_probe](https://radicalnotion.ai/fixes/torvalds/linux/btusb_probe) | drivers/bluetooth/btusb.c | 5 | 45 | 2026-07-25 |
| [smb2\_ioctl](https://radicalnotion.ai/fixes/torvalds/linux/smb2_ioctl) | fs/smb/server/smb2pdu.c | 5 | 45 | 2026-07-25 |
| [l2cap\_sock\_cleanup\_listen](https://radicalnotion.ai/fixes/torvalds/linux/l2cap_sock_cleanup_listen) | net/bluetooth/l2cap\_sock.c | 4 | 43 | 2026-09-17 |

## Most-patched files

| File | CVEs | Functions |
| --- | --- | --- |
| kernel/bpf/verifier.c | 145 | 214 |
| fs/smb/server/smb2pdu.c | 113 | 87 |
| net/netfilter/nf\_tables\_api.c | 82 | 150 |
| fs/ksmbd/smb2pdu.c | 63 | 60 |
| fs/nfsd/nfs4state.c | 55 | 63 |
| net/bluetooth/l2cap\_core.c | 54 | 68 |
| kernel/events/core.c | 53 | 83 |
| arch/x86/kvm/x86.c | 53 | 67 |
| net/core/filter.c | 50 | 51 |
| mm/hugetlb.c | 46 | 62 |

## Latest CVE fixes

| CVE | Title | Severity | CVSS | CISA KEV | Functions changed | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2026-99804 | io\_uring/io-wq: save worker type before dropping its reference | high | 7.8 | No | io\_worker | 2026-11-20 |
| CVE-2026-99803 | io\_uring/net: mask socket type with SOCK\_TYPE\_MASK in io\_socket\_bpf\_populate() | medium | 4.4 | No | io\_socket | 2026-11-20 |
| CVE-2026-99802 | io\_uring/register: enforce per-task restrictions in io\_uring\_register\_blind() | low | 3.3 | No | io\_uring\_register\_blind | 2026-11-20 |
| CVE-2026-99801 | io\_uring/bpf-ops: clear bpf\_ctx while submitting SQEs | high | 7.8 | No | bpf\_run\_ctx | 2026-11-20 |
| CVE-2026-99800 | io\_uring: free the task context after a grace period | high | 7.8 | No | io\_uring\_free\_tctx, rcu\_head, io\_put\_task | 2026-11-20 |
| CVE-2026-99799 | io\_uring/sqpoll: don't wait for the thread to exit | medium | 5.5 | No | io\_sq\_data\_release, io\_sq\_data, io\_sq\_offload\_create | 2026-11-20 |
| CVE-2026-99798 | io\_uring: defer foreign io-wq enqueues to task\_work | high | 7.8 | No | io\_queue\_iowq, io\_req\_queue\_iowq\_tw, io\_queue\_iowq\_foreign\_tw | 2026-11-20 |
| CVE-2026-99797 | io\_uring/cancel: drop sqd-\>lock while SQPOLL waits | medium | 5.5 | No | io\_uring\_cancel\_generic, io\_uring\_cancel\_generic | 2026-11-20 |
| CVE-2026-99796 | io\_uring/poll: cancel all matching requests in one pass | medium | 5.5 | No | io\_poll\_cancel\_all, io\_poll\_cancel, \_\_io\_async\_cancel | 2026-11-20 |
| CVE-2026-99795 | cxl/features: Ensure that count is set before access to ent\[\] \_\_counted\_by() | medium | 4.4 | No | cxl\_mbox\_get\_sup\_feats\_out | 2026-11-20 |
| CVE-2026-99794 | Bluetooth: L2CAP: Reject signalling responses in invalid states | high | 8.3 | No | test\_and\_set\_bit, l2cap\_config\_rsp, l2cap\_connect\_create\_rsp | 2026-11-20 |
| CVE-2026-99793 | Bluetooth: L2CAP: Only accept connection responses to outstanding requests | high | 8.1 | No | l2cap\_chan\_connect\_pending, l2cap\_connect\_create\_rsp, l2cap\_send\_create\_chan\_req | 2026-11-20 |

## Frequently asked questions

### How many CVEs have a located fix in torvalds/linux?

20,621 published CVEs have a fix traced to functions in torvalds/linux, touching 37,941 functions across 10,933 files.

### Which function in torvalds/linux has been patched most often?

bcm\_rx\_setup in net/can/bcm.c has been changed by 99 distinct patches, fixing 12 CVEs, from 2010 to 2026.

### How large is a typical CVE fix in torvalds/linux?

The median fix changes 26 lines. 43% of fixes change 20 lines or fewer, and 52% change a single function.

### How is a fix located to a function?

The upstream fix commit for each CVE is fetched and its diff is split into hunks. Each hunk is attributed to the function, method or type it changes, using the definition the diff itself names. Backports of the same fix to stable branches are counted once.

## Similar repositories

- [wordpress-plugins/plugins](https://radicalnotion.ai/fixes/wordpress-plugins/plugins) (997 CVEs)
- [tensorflow/tensorflow](https://radicalnotion.ai/fixes/tensorflow/tensorflow) (411 CVEs)
- [openclaw/openclaw](https://radicalnotion.ai/fixes/openclaw/openclaw) (394 CVEs)
- [ImageMagick/ImageMagick](https://radicalnotion.ai/fixes/imagemagick/imagemagick) (344 CVEs)
- [moodle/moodle](https://radicalnotion.ai/fixes/moodle/moodle) (276 CVEs)
- [gpac/gpac](https://radicalnotion.ai/fixes/gpac/gpac) (262 CVEs)
- [zephyrproject-rtos/zephyr](https://radicalnotion.ai/fixes/zephyrproject-rtos/zephyr) (256 CVEs)
- [FFmpeg/FFmpeg](https://radicalnotion.ai/fixes/ffmpeg/ffmpeg) (245 CVEs)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/fixes/torvalds/linux). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
