CVE-2025-38591

Aliases:UBUNTU-CVE-2025-38591DEBIAN-CVE-2025-38591CGA-24hw-7mjw-qwcwCGA-289m-3867-qpfrCGA-325r-64c8-79fgCGA-329x-63xj-8hm4CGA-35c5-j579-q6rvCGA-3m68-4q2p-c6x2CGA-3pcx-434c-mqw8CGA-3w6m-xpgg-6jc8CGA-45ph-23px-mr86CGA-4667-5qh3-49v4CGA-468j-4qfm-6xxcCGA-48gc-52qq-mvwrCGA-4cjm-6prm-26f6CGA-4cm2-v98w-558vCGA-4mcx-q5v6-q43fCGA-54xp-2jj3-h25fCGA-55qw-j2m8-m39fCGA-56wq-65q2-m7qpCGA-595c-jf73-rw7pCGA-59pv-6g8x-rm77CGA-5j33-4pjw-4jq5CGA-5pcc-jx8m-6xx8CGA-5pv6-4rgr-j63mCGA-62hm-9q3h-66gxCGA-66cf-7h53-hc3mCGA-6fcr-m4hq-f8wgCGA-6pxj-frjr-h9chCGA-6v5q-hhrj-r63fCGA-6vqm-xgx6-vpj7CGA-6wff-p2p5-5qmpCGA-72r5-rv8j-269qCGA-789f-rx7c-9xfxCGA-7g7x-3cj7-9h3mCGA-7rc9-6rpm-jjpxCGA-7w75-2fqj-2288CGA-8g3c-5cq2-qm45CGA-8mgc-7883-j2pwCGA-8p28-m6f6-hwq7CGA-8v7c-hjw6-pgw2CGA-8x47-37pm-j329CGA-93r6-hrpm-8wg2CGA-9682-mxfx-g9gxCGA-96h2-vx52-rqwhCGA-9cw9-3w2r-w9wwCGA-9vx5-x6r3-xg5pCGA-c4hj-x2q9-3pc9CGA-c532-q625-9h7wCGA-c777-vcrx-875cCGA-ccmx-hxfg-fm3jCGA-cf55-9p43-cpqmCGA-crv7-w7j8-rvxqCGA-fc97-8hfh-fxq7CGA-ff7p-wmcx-77h4CGA-fg96-229v-m7jmCGA-fmxh-q65f-7vj9CGA-fwf8-cv23-fw4wCGA-g2vm-mcg5-283hCGA-g983-w59r-7gc3CGA-ghcf-qqfq-gq8fCGA-ghg4-93r7-xxq8CGA-gm5x-58f2-888jCGA-gq9j-rxrf-9xcfCGA-h4p6-46v9-x583CGA-h8gj-rwhh-x297CGA-hfxj-w2j2-v8vrCGA-hhfg-5ggc-wcc5CGA-hpqp-whqh-wvm5CGA-hv3r-vh6w-3wgqCGA-j2p2-q565-2mmpCGA-j3ch-563v-cgpfCGA-j7hj-4vph-657hCGA-j883-7rp9-mx9jCGA-jhgv-6f73-wr7qCGA-jrpg-64pg-8p2hCGA-m49p-fw2j-v978CGA-m4mq-4x5q-6vcvCGA-mmrc-p6c4-7q53CGA-mv7w-cmmw-c6w9CGA-mwq4-jv7w-83fgCGA-p2vr-6p89-cm7jCGA-p942-c9jx-7hmfCGA-pg97-64wp-4r7rCGA-pjwh-7j98-9jvpCGA-q9f4-vgv6-q43pCGA-q9jj-cx9g-8fh9CGA-qg67-3pw7-v6c8CGA-qgfh-26x6-gp53CGA-qjcf-725f-4h46CGA-qrvg-g56r-r864CGA-qv3v-h43c-w374CGA-r3cm-6654-9c95CGA-r8xc-r449-49fwCGA-r9wh-mjjj-r96gCGA-rf5h-rwqh-95wgCGA-rgv2-gf2f-m2p6CGA-rh74-49rh-m958CGA-rwjw-wc2h-rq4qCGA-v332-9hxc-9v62CGA-v3fx-4vj4-jp7pCGA-v4cj-hfr3-j94hCGA-v4gm-xwwv-m663CGA-v8m9-8fc5-fqpwCGA-vc47-6ppp-6qpcCGA-vhhp-mff8-vhvcCGA-vm6w-rhh8-h728CGA-vr3m-xw62-pjfwCGA-vx9r-55wc-46vgCGA-w9jc-7h8w-239hCGA-wc3x-h83g-v26vCGA-wm8q-w25w-gc92CGA-wqpj-xvwf-fg5hCGA-x3j7-c673-qmrwCGA-x7h4-c7xj-73x9CGA-xmjg-6gx6-7w78CGA-xpjm-q266-mpg2
Advisory lineage Upstream: 0 Downstream: 45
Modified
Published: 19 Aug 2025, 17:03
Last modified:14 Sept 2026, 11:58

Vulnerability Summary

Overall Risk (default)
low
22/100
CVSS Score
5.5 MEDIUM
v3.1 (nvd)
EPSS Score
0.2% LOW
0% probability +0.18%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

19 Aug 2025, 17:03
Published
Vulnerability first disclosed
14 Sept 2026, 11:58
Last Modified
Vulnerability information updated

Description

In the Linux kernel, the following vulnerability has been resolved: bpf: Reject narrower access to pointer ctx fields The following BPF program, simplified from a syzkaller repro, causes a kernel warning: r0 = *(u8 *)(r1 + 169); exit; With pointer field sk being at offset 168 in __sk_buff. This access is detected as a narrower read in bpf_skb_is_valid_access because it doesn't match offsetof(struct __sk_buff, sk). It is therefore allowed and later proceeds to bpf_convert_ctx_access. Note that for the "is_narrower_load" case in the convert_ctx_accesses(), the insn->off is aligned, so the cnt may not be 0 because it matches the offsetof(struct __sk_buff, sk) in the bpf_convert_ctx_access. However, the target_size stays 0 and the verifier errors with a kernel warning: verifier bug: error during ctx access conversion(1) This patch fixes that to return a proper "invalid bpf_context access off=X size=Y" error on the load instruction. The same issue affects multiple other fields in context structures that allow narrow access. Some other non-affected fields (for sk_msg, sk_lookup, and sockopt) were also changed to use bpf_ctx_range_ptr for consistency. Note this syzkaller crash was reported in the "Closes" link below, which used to be about a different bug, fixed in commit fce7bd8e385a ("bpf/verifier: Handle BPF_LOAD_ACQ instructions in insn_def_regno()"). Because syzbot somehow confused the two bugs, the new crash and repro didn't get reported to the mailing list.

CVSS Metrics

  • v3.1MEDIUMScore: 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

EPSS Trends

Current EPSS score: 0.20% Percentile: 10%

Affected Systems

  • chainguardlinux-aws-6.12

    < 6.12.76-r0 | < 6.12.69-r0 | < 6.12.67-r0 | < 6.12.60-r4 | < 6.12.68-r1 | < 6.12.74-r1 | < 6.12.78-r0 | < 6.12.74-r0 | < 6.12.72-r1 | < 6.12.68-r0 | < 6.12.62-r2 | < 6.12.71-r0 | < 6.12.62-r1 | < 6.12.77-r2 | < 6.12.80-r0 | < 6.12.72-r0 | < 6.12.70-r0 | < 6.12.65-r0 | < 6.12.63-r0 | < 6.12.62-r0 | < 6.12.65-r1 | < 6.12.77-r1 | < 6.12.77-r0 | < 6.12.66-r0 | < 6.12.65-r2

  • chainguardlinux-azure-6.12

    < 6.12.62-r0 | < 6.12.74-r1 | < 6.12.65-r4 | < 6.12.72-r0 | < 6.12.77-r0 | < 6.12.78-r0 | < 6.12.63-r0 | < 6.12.65-r1 | < 6.12.68-r0 | < 6.12.76-r0 | < 6.12.65-r3 | < 6.12.77-r1 | < 6.12.66-r0 | < 6.12.60-r4 | < 6.12.62-r2 | < 6.12.62-r1 | < 6.12.65-r2 | < 6.12.60-r3 | < 6.12.67-r0 | < 6.12.69-r0 | < 6.12.80-r0 | < 6.12.71-r0 | < 6.12.77-r2 | < 6.12.74-r0 | < 6.12.70-r0

  • chainguardlinux-gcp-6.12

    < 6.12.72-r0 | < 6.12.60-r3 | < 6.12.77-r2 | < 6.12.65-r0 | < 6.12.76-r0 | < 6.12.62-r0 | < 6.12.78-r0 | < 6.12.63-r0 | < 6.12.68-r0 | < 6.12.69-r0 | < 6.12.62-r2 | < 6.12.74-r1 | < 6.12.60-r4 | < 6.12.80-r0 | < 6.12.68-r1 | < 6.12.65-r2 | < 6.12.77-r0 | < 6.12.71-r0 | < 6.12.65-r1 | < 6.12.62-r1 | < 6.12.74-r0 | < 6.12.77-r1 | < 6.12.66-r0 | < 6.12.70-r0 | < 6.12.67-r0

  • chainguardlinux-qemu-6.12

    < 6.12.70-r0 | < 6.12.68-r0 | < 6.12.65-r2 | < 6.12.78-r0 | < 6.12.74-r0 | < 6.12.71-r0 | < 6.12.67-r0 | < 6.12.77-r2 | < 6.12.69-r0 | < 6.12.80-r0 | < 6.12.76-r0 | < 6.12.66-r0 | < 6.12.77-r0 | < 6.12.72-r0 | < 6.12.77-r1 | < 6.12.65-r1 | < 6.12.74-r1

  • chainguardlinux-vmware-6.12

    < 6.12.66-r0 | < 6.12.74-r1 | < 6.12.71-r0 | < 6.12.76-r0 | < 6.12.70-r0 | < 6.12.67-r0 | < 6.12.65-r1 | < 6.12.72-r0 | < 6.12.74-r0 | < 6.12.65-r2 | < 6.12.77-r1 | < 6.12.77-r0 | < 6.12.68-r1 | < 6.12.69-r0 | < 6.12.80-r0 | < 6.12.68-r0 | < 6.12.77-r2 | < 6.12.78-r0

  • debianlinux

    < 5.10.249-1 | < 6.1.162-1 | < 6.12.69-1 | < 6.16.3-1

  • debianlinux-6.1

    < 6.1.162-1~deb11u1

  • ubuntulinux

    all | < 5.15.0-176.186 | < 6.8.0-117.117

  • ubuntulinux-allwinner-5.19

    all

  • ubuntulinux-aws

    all | < 5.15.0-1105.112 | < 6.8.0-1055.58

  • ubuntulinux-aws-5.0

    all

  • ubuntulinux-aws-5.11

    all

  • ubuntulinux-aws-5.13

    all

  • ubuntulinux-aws-5.15

    < 5.15.0-1105.112~20.04.1

  • ubuntulinux-aws-5.19

    all

  • ubuntulinux-aws-5.3

    all

  • ubuntulinux-aws-5.4

    all

  • ubuntulinux-aws-5.8

    all

  • ubuntulinux-aws-6.14

    all

  • ubuntulinux-aws-6.2

    all

  • ubuntulinux-aws-6.5

    all

  • ubuntulinux-aws-6.8

    < 6.8.0-1057.60~22.04.1

  • ubuntulinux-aws-fips

    all | < 5.15.0-1105.112+fips1 | < 6.8.0-1055.58+fips1

  • ubuntulinux-aws-hwe

    all

  • ubuntulinux-azure

    all | all | < 5.15.0-1110.119 | < 6.8.0-1056.62

  • ubuntulinux-azure-4.15

    all

  • ubuntulinux-azure-5.11

    all

  • ubuntulinux-azure-5.13

    all

  • ubuntulinux-azure-5.15

    < 5.15.0-1110.119~20.04.1

  • ubuntulinux-azure-5.19

    all

  • ubuntulinux-azure-5.3

    all

  • ubuntulinux-azure-5.4

    all

  • ubuntulinux-azure-5.8

    all

  • ubuntulinux-azure-6.11

    all

  • ubuntulinux-azure-6.14

    all

  • ubuntulinux-azure-6.2

    all

  • ubuntulinux-azure-6.5

    all

  • ubuntulinux-azure-6.8

    < 6.8.0-1059.65~22.04.1

  • ubuntulinux-azure-edge

    all

  • ubuntulinux-azure-fde

    all | all | all | all

  • ubuntulinux-azure-fde-5.19

    all

  • ubuntulinux-azure-fde-6.14

    all

  • ubuntulinux-azure-fde-6.2

    all

  • ubuntulinux-azure-fde-6.8

    all

  • ubuntulinux-azure-fips

    all | < 5.15.0-1110.119+fips1 | < 6.8.0-1059.65+fips1

  • ubuntulinux-azure-nvidia

    all

  • ubuntulinux-azure-nvidia-6.14

    all

  • ubuntulinux-bluefield

    all | all | < 5.15.0-1089.91 | < 6.8.0-1022.26

  • ubuntulinux-fips

    all | < 5.15.0-176.186+fips1 | < 6.8.0-116.116+fips1

  • ubuntulinux-gcp

    all | all | < 5.15.0-1105.114 | < 6.8.0-1058.61

Showing first 50 affected entries in server-rendered view.

References (34)