Skip to content
Heist/ feed
Back to feed
HighFix available

sfc: Don't invoke xdp_do_flush() from netpoll.

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: sfc: Don't invoke xdp_do_flush() from netpoll. Yury reported a crash in the sfc driver originated from netpoll_send_udp(). The netconsole sends a message and then netpoll invokes the driver's NAPI function with a budget of zero. It is dedicated to allow driver to free TX resources, that it may have used while sending the packet. In the netpoll case the driver invokes xdp_do_flush() unconditionally, leading to crash because bpf_net_context was never assigned. Invoke xdp_do_flush() only if budget is not zero.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.11.4
CVEs
CVE-2024-50094
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 02:04 UTC · Revision 1

Source evidence

sfc: Don't invoke xdp_do_flush() from netpoll.

core-osv · Original source

Published 5 Nov 2024, 17:04 UTC

In the Linux kernel, the following vulnerability has been resolved: sfc: Don't invoke xdp_do_flush() from netpoll. Yury reported a crash in the sfc driver originated from netpoll_send_udp(). The netconsole sends a message and then netpoll invokes the driver's NAPI function with a budget of zero. It is dedicated to allow driver to free TX resources, that it may have used while sending the packet. In the netpoll case the driver invokes xdp_do_flush() unconditionally, leading to crash because bpf_net_context was never assigned. Invoke xdp_do_flush() only if budget is not zero.

osv:CVE-2024-50094

Kernel

Fixed versions: 6.11.4

Complete source record
{
  "id": "bd9bd12a8873a2ebe576e0a380736f282cfb51b88791ceaba97e7737a024fbf1",
  "url": "https://osv.dev/vulnerability/CVE-2024-50094",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "sfc: Don't invoke xdp_do_flush() from netpoll.",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: sfc: Don't invoke xdp_do_flush() from netpoll. Yury reported a crash in the sfc driver originated from netpoll_send_udp(). The netconsole sends a message and then netpoll invokes the driver's NAPI function with a budget of zero. It is dedicated to allow driver to free TX resources, that it may have used while sending the packet. In the netpoll case the driver invokes xdp_do_flush() unconditionally, leading to crash because bpf_net_context was never assigned. Invoke xdp_do_flush() only if budget is not zero.",
    "evidence": "osv:CVE-2024-50094",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.11.4",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-50094",
      "aliases": [
        "CVE-2024-50094"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "401cb7dae8130fd34eb84648e02ab4c506df7d5e"
                },
                {
                  "fixed": "65d4fc76d75c136744e67754d20feda609e7b793"
                },
                {
                  "fixed": "55e802468e1d38dec8e25a2fdb6078d45b647e8c"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-50094.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.11.0"
                },
                {
                  "fixed": "6.11.4"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-50094.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:25.411404295Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/55e802468e1d38dec8e25a2fdb6078d45b647e8c",
        "https://git.kernel.org/stable/c/65d4fc76d75c136744e67754d20feda609e7b793",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50094.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-50094",
        "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/2024/50xxx/CVE-2024-50094.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-50094",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 491773,
  "published_at": "2024-11-05T17:04:57.299+00:00"
}