{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "c09440f7dcb304002dfced8c0fea289eb25f2da0"
            },
            {
              "fixed": "83edde471129ab3f0bbff4b2470d3066e2c7e111"
            },
            {
              "fixed": "39f656dcdb08dc5463e90b67ee30d2f7b41a933b"
            },
            {
              "fixed": "a371e502e5a07cb049499be1e43b865ed3ba4eb1"
            },
            {
              "fixed": "54ac400341e33bd8c79840595e0185eb17a422bc"
            },
            {
              "fixed": "cf3da25ead14590771ea151dde9b7c4ae112bb48"
            },
            {
              "fixed": "8366ca908e5f2aa2e283fae5f0512a788cf1b4c8"
            },
            {
              "fixed": "504eaccdb56f267d7e087b653b1fb0e075f9b4c9"
            },
            {
              "fixed": "94d51c59f0a872c57cb8daa1964ec033d77a79fb"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "4.6.0"
            },
            {
              "fixed": "5.10.275"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.226"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.193"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.163"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.119"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.65"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139344.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nmacsec: prevent AES-GCM nonce reuse after packet number wrap\n\nAfter allocating the last valid packet number, MACsec wraps next_pn to\nzero and deactivates the transmit SA. This happens for both 32- and\n64-bit types of packet numbers (at values 0xffffffff and\n0xffffffffffffffff, respectively).\n\nTX packets that were still getting processed during deactivation keep\nbeing processed and then receive packet numbers. The first gets 0 and\nis correctly dropped, but next_pn is incremented to 1, which makes the\nnext packet take number 1. It then does not get dropped and may induce\na reuse of the AES-GCM nonce corresponding to value 1.\n\nThis race affects TX packets that have already passed the SA activity\ncheck: packets that observe the inactive SA are correctly dropped.\nReactivating the SA after PN wrap without a packet number can also\ncause nonce reuse. Keep next_pn at 0 after wrap, even if the SA is\nreactivated, so further packet number allocations return 0 and the\ncorresponding packets are dropped.",
  "id": "CVE-2026-139344",
  "modified": "2026-12-01T20:45:22.550230716Z",
  "published": "2026-11-30T13:33:53.650Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/39f656dcdb08dc5463e90b67ee30d2f7b41a933b"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/504eaccdb56f267d7e087b653b1fb0e075f9b4c9"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/54ac400341e33bd8c79840595e0185eb17a422bc"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/8366ca908e5f2aa2e283fae5f0512a788cf1b4c8"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/83edde471129ab3f0bbff4b2470d3066e2c7e111"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/94d51c59f0a872c57cb8daa1964ec033d77a79fb"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/a371e502e5a07cb049499be1e43b865ed3ba4eb1"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/cf3da25ead14590771ea151dde9b7c4ae112bb48"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139344.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139344"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "macsec: prevent AES-GCM nonce reuse after packet number wrap"
}