{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "d4ece08f4b1d29471cc4c0eb0c87427600a77acd"
            },
            {
              "fixed": "898a1815ed0be1b3a8996170dbe32ae791621100"
            },
            {
              "fixed": "035e45b333c90606ecbbe4b47c1d5d473541ea88"
            },
            {
              "fixed": "b02eb2580484d027f34d4c8ec060d9c6d922de0c"
            },
            {
              "fixed": "902407bc588575af0ceae5de4f635fe1e024f258"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.6.0"
            },
            {
              "fixed": "6.12.120"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.66"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.7"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143349.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet/mlx5: macsec: free struct mlx5_fs_id after an RCU grace period\n\nmacsec_fs_id_del() removes a struct mlx5_fs_id from its rhashtable with\nrhashtable_remove_fast() and then frees it with kfree() right away.\n\nThe TX (SCI) table is read locklessly from the transmit path:\nmlx5e_macsec_handle_tx_skb() and mlx5e_macsec_tx_build_eseg() call\nmlx5_macsec_fs_get_fs_id_from_hashtable(), which does\nrhashtable_lookup() under rcu_read_lock() and then reads\nmlx5_fs_id-\u003eid. A transmit that looked the entry up just before it was\nremoved reads freed memory.\n\nBefore commit d4ece08f4b1d (\"net/mlx5: Maintain fs_id xarray per MACsec\ndevice inside macsec steering\") the SCI table held struct\nmlx5e_macsec_sa directly, and mlx5e_macsec_del_txsa() freed it with\nkfree_rcu_mightsleep(). That commit moved the table into macsec_fs.c\nwith the new struct mlx5_fs_id, but frees it with a plain kfree().\n\nAdd an rcu_head to struct mlx5_fs_id and free it with kfree_rcu().\n\nThe same issue was flagged by the Sashiko AI review as a pre-existing\nproblem while reviewing the HW-GRO for PSP series.",
  "id": "CVE-2026-143349",
  "modified": "2026-12-03T10:45:52.146683053Z",
  "published": "2026-12-03T09:22:07.069Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/035e45b333c90606ecbbe4b47c1d5d473541ea88"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/898a1815ed0be1b3a8996170dbe32ae791621100"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/902407bc588575af0ceae5de4f635fe1e024f258"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/b02eb2580484d027f34d4c8ec060d9c6d922de0c"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143349.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-143349"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "net/mlx5: macsec: free struct mlx5_fs_id after an RCU grace period"
}