CVE-2025-38018
net/tls: fix kernel panic when alloc_page failed
Reported by linux · Published June 18, 2025
In the Linux kernel, the following vulnerability has been resolved: net/tls: fix kernel panic when alloc_page failed We cannot set frag_list to NULL pointer when alloc_page failed. It will be used in tls_strp_check_queue_ok when the next time tls_strp_read_sock is called. This is because we don't reset full_len in tls_strp_flush_anchor_copy() so the recv path will try to continue handling the partial record on the next call but we dettached the rcvq from the frag list. Alternative fix would be to reset full_len. Unable to handle kernel NULL pointer dereference at virtual address 0000000000000028 Call trace: tls_strp_check_rcv+0x128/0x27c tls_strp_data_ready+0x34/0x44 tls_data_ready+0x3c/0x1f0 tcp_data_ready+0x9c/0xe4 tcp_data_queue+0xf6c/0x12d0 tcp_rcv_established+0x52c/0x798
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.12-modules-extra | Amazon Linux | 6.12.30-34.92.amzn2023 |
| kernel-modules-extra | Amazon Linux | 6.1.140-154.222.amzn2023 |
| kernel-livepatch-6.12.30-34.92 | Amazon Linux | 1.0-0.amzn2023 |
| kernel-modules-extra-common | Amazon Linux | 6.1.140-154.222.amzn2023 |
| Linux | Linux | a11b8c0be6acd0505a58ff40d474bd778b25b93a, 8f7f96549bc55e4ef3a6b499bc5011e5de2f46c4, 5f1f833cb388592bb46104463a1ec1b7c41975b6 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 84c61fe1a75b4255df1e1e7c054c9e6d048da417, 84c61fe1a75b4255df1e1e7c054c9e6d048da417, 84c61fe1a75b4255df1e1e7c054c9e6d048da417 |
| Linux | Linux | 6.0, 0, 6.1.140 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel-livepatch-6.12.30-34.92 | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| Linux | Linux | 6.15, 84c61fe1a75b4255df1e1e7c054c9e6d048da417, 84c61fe1a75b4255df1e1e7c054c9e6d048da417 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel-libbpf | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | kernel-livepatch-6.1.140-154.222 | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
…and 3 more
Timeline
- Jun 17, 2025 CVE Published
- Jun 18, 2025 EPSS Score (30 in total, the first dated here)
- Oct 12, 2025 PoC Published (24 in total, the first dated here)
- Mar 29, 2026 Distribution Patch (270 in total, the first dated here)
- Mar 29, 2026 Security Advisory (281 in total, the first dated here)
- Jun 9, 2026 Coalition ESS Score
- Oct 13, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-38018
vulnetix vdb fixes CVE-2025-38018
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-38018/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart