{
  "id": "CVE-2026-63942",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-63942",
  "published_at": "2026-07-19T14:55:37.717Z",
  "title": "parport: Fix race between port and client registration",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nparport: Fix race between port and client registration\n\nThe parport subsystem registers port devices before they are fully\ninitialised, resulting in a race condition where client drivers such\nas lp can attach to ports that are not completely initialised or even\nbeing torn down.\n\nWhen the port and client drivers are built as modules and loaded\naround the same time during boot, this occasionally results in a\ncrash.  I was able to make this happen reliably in a VM with a\nPC-style parallel port by patching parport_pc to fail probing:\n\n\u003e --- a/drivers/parport/parport_pc.c\n\u003e +++ b/drivers/parport/parport_pc.c\n\u003e @@ -2069,7 +2069,7 @@ static struct parport *__parport_pc_probe_port(unsigned long int base,\n\u003e  \tif (!p)\n\u003e  \t\tgoto out3;\n\u003e\n\u003e -\tbase_res = request_region(base, 3, p-\u003ename);\n\u003e +\tbase_res = NULL;\n\u003e  \tif (!base_res)\n\u003e  \t\tgoto out4;\n\u003e\n\nand then running:\n\n    while true; do\n        modprobe lp \u0026 modprobe parport_pc\n\twait\n\trmmod lp parport_pc\n    done\n\nfor a few seconds.\n\nIn the long term I think port registration should be changed to put\nthe call to device_add() inside parport_announce_port(), but since the\nlatter currently cannot fail this will require changing all port\ndrivers.\n\nFor now, add a flag to indicate whether a port has been \"announced\"\nand only try to attach client drivers to ports when the flag is set.",
  "cwe": "CWE-362",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc5:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 6fa45a22689722dac9f0e90c0931d4b34b334ede, \u003c f3378b0d7bd4605de89b083b2900788157a181cc",
          "\u003e= 6fa45a22689722dac9f0e90c0931d4b34b334ede, \u003c 290f515c5e3b3900bc2fe24f179999fd08d23bfa",
          "\u003e= 6fa45a22689722dac9f0e90c0931d4b34b334ede, \u003c d16548be2ea5058227d79799e81dab61c9bca8ec",
          "\u003e= 6fa45a22689722dac9f0e90c0931d4b34b334ede, \u003c 15b1723c1472e802f9f7e69ae4e64f7dbf588848",
          "\u003e= 6fa45a22689722dac9f0e90c0931d4b34b334ede, \u003c 51026cff1f4f3b762a0b5a07c727bd59cef45320",
          "\u003e= 6fa45a22689722dac9f0e90c0931d4b34b334ede, \u003c 74d6aae1df45d3414178986be743f946988fddf6",
          "\u003e= 6fa45a22689722dac9f0e90c0931d4b34b334ede, \u003c a1e81b58da0179531bedf0b9f2811f5f992d5c4b",
          "\u003e= 6fa45a22689722dac9f0e90c0931d4b34b334ede, \u003c ef15ccbb3e8640a723c42ad90eaf81d66ae02017"
        ],
        "fixed_in": [
          "f3378b0d7bd4605de89b083b2900788157a181cc",
          "290f515c5e3b3900bc2fe24f179999fd08d23bfa",
          "d16548be2ea5058227d79799e81dab61c9bca8ec",
          "15b1723c1472e802f9f7e69ae4e64f7dbf588848",
          "51026cff1f4f3b762a0b5a07c727bd59cef45320",
          "74d6aae1df45d3414178986be743f946988fddf6",
          "a1e81b58da0179531bedf0b9f2811f5f992d5c4b",
          "ef15ccbb3e8640a723c42ad90eaf81d66ae02017"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "4.2"
        ],
        "fixed_in": [
          "0",
          "5.10.259",
          "5.15.210",
          "6.1.176",
          "6.6.143",
          "6.12.93",
          "6.18.35",
          "7.0.12",
          "7.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to f3378b0d7bd4605de89b083b2900788157a181cc or 290f515c5e3b3900bc2fe24f179999fd08d23bfa or d16548be2ea5058227d79799e81dab61c9bca8ec or 15b1723c1472e802f9f7e69ae4e64f7dbf588848 or 51026cff1f4f3b762a0b5a07c727bd59cef45320 or 74d6aae1df45d3414178986be743f946988fddf6 or a1e81b58da0179531bedf0b9f2811f5f992d5c4b or ef15ccbb3e8640a723c42ad90eaf81d66ae02017 or later.",
      "Upgrade Linux to 0 or 5.10.259 or 5.15.210 or 6.1.176 or 6.6.143 or 6.12.93 or 6.18.35 or 7.0.12 or 7.1 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
