Skip to content
Heist/ feed
Back to feed
HighFix available

virtio-net: ensure the received length does not exceed allocated size

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: virtio-net: ensure the received length does not exceed allocated size In xdp_linearize_page, when reading the following buffers from the ring, we forget to check the received length with the true allocate size. This can lead to an out-of-bound read. This commit adds that missing check.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.241, 5.15.189, 5.4.297, 6.1.144, 6.12.37, 6.15.6, 6.6.97
CVEs
CVE-2025-38375
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 03:23 UTC · Revision 1

Source evidence

virtio-net: ensure the received length does not exceed allocated size

core-osv · Original source

Published 25 Jul 2025, 12:53 UTC

In the Linux kernel, the following vulnerability has been resolved: virtio-net: ensure the received length does not exceed allocated size In xdp_linearize_page, when reading the following buffers from the ring, we forget to check the received length with the true allocate size. This can lead to an out-of-bound read. This commit adds that missing check.

osv:CVE-2025-38375

Kernel

Fixed versions: 5.4.297, 5.10.241, 5.15.189, 6.1.144, 6.6.97, 6.12.37, 6.15.6

Complete source record
{
  "id": "b3bde59ca10e58cd29f3357f5c75446cff326d95c1483d0a51b39d1594887ae2",
  "url": "https://osv.dev/vulnerability/CVE-2025-38375",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "virtio-net: ensure the received length does not exceed allocated size",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: virtio-net: ensure the received length does not exceed allocated size In xdp_linearize_page, when reading the following buffers from the ring, we forget to check the received length with the true allocate size. This can lead to an out-of-bound read. This commit adds that missing check.",
    "evidence": "osv:CVE-2025-38375",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.4.297",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.10.241",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.189",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.144",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.97",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.37",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.15.6",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2025-38375",
      "aliases": [
        "CVE-2025-38375"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "4941d472bf95b4345d6e38906fcf354e74afa311"
                },
                {
                  "fixed": "773e95c268b5d859f51f7547559734fd2a57660c"
                },
                {
                  "fixed": "ddc8649d363141fb3371dd81a73e1cb4ef8ed1e1"
                },
                {
                  "fixed": "982beb7582c193544eb9c6083937ec5ac1c9d651"
                },
                {
                  "fixed": "6aca3dad2145e864dfe4d1060f45eb1bac75dd58"
                },
                {
                  "fixed": "80b971be4c37a4d23a7f1abc5ff33dc7733d649b"
                },
                {
                  "fixed": "bc68bc3563344ccdc57d1961457cdeecab8f81ef"
                },
                {
                  "fixed": "11f2d0e8be2b5e784ac45fa3da226492c3e506d8"
                },
                {
                  "fixed": "315dbdd7cdf6aa533829774caaf4d25f1fd20e73"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38375.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.14.0"
                },
                {
                  "fixed": "5.4.297"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.5.0"
                },
                {
                  "fixed": "5.10.241"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.189"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.144"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.97"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.37"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.15.6"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38375.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:42.097922949Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/11f2d0e8be2b5e784ac45fa3da226492c3e506d8",
        "https://git.kernel.org/stable/c/315dbdd7cdf6aa533829774caaf4d25f1fd20e73",
        "https://git.kernel.org/stable/c/6aca3dad2145e864dfe4d1060f45eb1bac75dd58",
        "https://git.kernel.org/stable/c/773e95c268b5d859f51f7547559734fd2a57660c",
        "https://git.kernel.org/stable/c/80b971be4c37a4d23a7f1abc5ff33dc7733d649b",
        "https://git.kernel.org/stable/c/982beb7582c193544eb9c6083937ec5ac1c9d651",
        "https://git.kernel.org/stable/c/bc68bc3563344ccdc57d1961457cdeecab8f81ef",
        "https://git.kernel.org/stable/c/ddc8649d363141fb3371dd81a73e1cb4ef8ed1e1",
        "https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html",
        "https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38375.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-38375",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38375.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-38375",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 509809,
  "published_at": "2025-07-25T12:53:17.629+00:00"
}