{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2025-38514",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2025-04-16T04:51:24.023Z",
        "datePublished": "2025-08-16T10:55:01.150Z",
        "dateUpdated": "2026-08-05T12:02:34.827Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-08-05T12:02:34.827Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nrxrpc: Fix oops due to non-existence of prealloc backlog struct\n\nIf an AF_RXRPC service socket is opened and bound, but calls are\npreallocated, then rxrpc_alloc_incoming_call() will oops because the\nrxrpc_backlog struct doesn't get allocated until the first preallocation is\nmade.\n\nFix this by returning NULL from rxrpc_alloc_incoming_call() if there is no\nbacklog struct.  This will cause the incoming call to be aborted."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                        "baseScore": 7.5,
                        "baseSeverity": "HIGH"
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "AV:N - The oops is driven entirely by a received UDP/rxrpc datagram processed in the endpoint's I/O thread (`rxrpc_encap_rcv` → `rxrpc_input_packet` → `rxrpc_new_incoming_call`), and AF_RXRPC services live on routable UDP ports such as the well-known AFS callback port 7001. Any remote host able to send a packet to that port reaches the vulnerable function.\nAC:L - A single well-formed rxrpc DATA packet (seq!=0, callNumber!=0, matching serviceId, securityIndex 0) deterministically dereferences the NULL backlog pointer — no race, memory-layout, or timing dependency in the packet path itself, and the well-known service IDs are protocol constants. The attacker can simply keep the port fed so any bind→listen window (as in `afs_open_socket`) is hit, and sockets bound without listening are persistently exposed.\nPR:N - The attacker is an unauthenticated remote peer holding no credentials on the victim: `rxrpc_get_incoming_security()` accepts `RXRPC_SECURITY_NONE` with no key at all, and even for secured services the CHALLENGE is only queued after `rxrpc_alloc_incoming_call()` has already crashed. The same crash is also reachable by a plain unprivileged local user, since `rxrpc_create()`/`rxrpc_bind()` require no capability.\nUI:N - The crash happens autonomously inside the rxrpc I/O kernel thread while processing an inbound packet against an already-bound service socket. No victim action, mount, or file access is part of the attack.\nS:U - The NULL dereference and its consequences are confined to the kernel of the host running the AF_RXRPC service socket, with no crossing into a hypervisor, IOMMU, or sandbox authority.\nC:N - The faulting access is a read of `b->call_backlog_head` at offset 4 from NULL, which is below `mmap_min_addr` and faults immediately. No kernel memory contents are returned to the attacker or leaked to userspace.\nI:N - Execution aborts on the very first load in `rxrpc_alloc_incoming_call()`, before any of the subsequent stores (`peer->srx = *peer_srx`, `conn->local = ...`) are reached. Nothing is written or corrupted, so no overwrite or control-flow hijack primitive exists.\nA:H - The dereference oopses the rxrpc I/O kthread while it holds `read_lock_irq(&local->services_lock)` and `spin_lock(&rx->incoming_lock)`, so the thread dies with IRQs disabled and both locks permanently held — all rxrpc/AFS traffic on that endpoint stops and any later bind or socket release spins forever. Under the common `panic_on_oops=1` configuration it is an immediate full system panic, repeatable with one packet."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "net/rxrpc/call_accept.c"
                    ],
                    "versions": [
                        {
                            "version": "248f219cb8bcbfbd7f132752d44afa2df7c241d1",
                            "lessThan": "bf0ca6a1bc4fb904b598137c6718785a107e3adf",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "248f219cb8bcbfbd7f132752d44afa2df7c241d1",
                            "lessThan": "f7afb3ff01c42c49e8a143cdce400b95844bb506",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "248f219cb8bcbfbd7f132752d44afa2df7c241d1",
                            "lessThan": "f5e72b7824d08c206ce106d30cb37c4642900ccc",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "248f219cb8bcbfbd7f132752d44afa2df7c241d1",
                            "lessThan": "0eef29385d715d4c7fd707b18d4a9b76c76dd5e6",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "248f219cb8bcbfbd7f132752d44afa2df7c241d1",
                            "lessThan": "efc1b2b7c1a308b60df8f36bc2d7ce16d3999364",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "248f219cb8bcbfbd7f132752d44afa2df7c241d1",
                            "lessThan": "d1ff5f9d2c5405681457262e23c720b08977c11f",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "248f219cb8bcbfbd7f132752d44afa2df7c241d1",
                            "lessThan": "2c2e9ebeb036f9b1b09325ec5cfdfe0e78f357c3",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "248f219cb8bcbfbd7f132752d44afa2df7c241d1",
                            "lessThan": "880a88f318cf1d2a0f4c0a7ff7b07e2062b434a4",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "net/rxrpc/call_accept.c"
                    ],
                    "versions": [
                        {
                            "version": "4.9",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "4.9",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.4.296",
                            "lessThanOrEqual": "5.4.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.240",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.189",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.146",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.99",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.39",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.15.7",
                            "lessThanOrEqual": "6.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.16",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.9",
                                    "versionEndExcluding": "5.4.296"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.9",
                                    "versionEndExcluding": "5.10.240"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.9",
                                    "versionEndExcluding": "5.15.189"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.9",
                                    "versionEndExcluding": "6.1.146"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.9",
                                    "versionEndExcluding": "6.6.99"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.9",
                                    "versionEndExcluding": "6.12.39"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.9",
                                    "versionEndExcluding": "6.15.7"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.9",
                                    "versionEndExcluding": "6.16"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/bf0ca6a1bc4fb904b598137c6718785a107e3adf"
                },
                {
                    "url": "https://git.kernel.org/stable/c/f7afb3ff01c42c49e8a143cdce400b95844bb506"
                },
                {
                    "url": "https://git.kernel.org/stable/c/f5e72b7824d08c206ce106d30cb37c4642900ccc"
                },
                {
                    "url": "https://git.kernel.org/stable/c/0eef29385d715d4c7fd707b18d4a9b76c76dd5e6"
                },
                {
                    "url": "https://git.kernel.org/stable/c/efc1b2b7c1a308b60df8f36bc2d7ce16d3999364"
                },
                {
                    "url": "https://git.kernel.org/stable/c/d1ff5f9d2c5405681457262e23c720b08977c11f"
                },
                {
                    "url": "https://git.kernel.org/stable/c/2c2e9ebeb036f9b1b09325ec5cfdfe0e78f357c3"
                },
                {
                    "url": "https://git.kernel.org/stable/c/880a88f318cf1d2a0f4c0a7ff7b07e2062b434a4"
                }
            ],
            "title": "rxrpc: Fix oops due to non-existence of prealloc backlog struct",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        },
        "adp": [
            {
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html"
                    },
                    {
                        "url": "https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html"
                    }
                ],
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2025-11-03T17:39:18.150Z"
                }
            }
        ]
    }
}