In the Linux kernel, the following vulnerability has been resolved: kgdb: Fix buffer overflow in the qRcmd packet handler gdbcmdquery()…
CVE-2026-142819
In the Linux kernel, the following vulnerability has been resolved: kgdb: Fix buffer overflow in the qRcmd packet handler gdbcmdquery() decodes the hex payload of a qRcmd packet (the GDB "monitor" command passthrough to kdb) into remcomoutbuffer and hands it to kdbparse(). It sizes the decode with strlen() of the payload: int len = strlen(remcominbuffer + 6); ... kgdbhex2mem(remcominbuffer + 6, remcomoutbuffer, len); len = len / 2; kgdbhex2mem() takes count as the number of bytes to produce and decodes them in place at buf, reading and writing 2 count bytes there. len here is the hex character count, twice the decoded size, so the decode runs over 2 len bytes at remcominbuffer + 6, off the end of the buffer. On x86 BUFMAX is 1024, so a 256-byte monitor command (512 hex characters) overruns remcominbuffer during the in-place decode: BUG: KASAN: global-out-of-bounds in kgdbhex2mem+0x131/0x160 Read of size 1 at addr ffffffff8765ef05 by task sh/1 ... kgdbhex2mem+0x131/0x160 gdbserialstub+0x16d4/0x3170 kgdbcpuenter+0xb68/0x1520 ... The buggy address belongs to the variable: remcominbuffer+0x405/0x420 Halve len before the call so kgdbhex2mem() gets the decoded byte count. It then reads…
Assessment
- CVSS
- 0
- Severity
- Unscored
- EPSS
- 0% chance of exploitation in the next 30 days
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 3 December 2026
- Last updated
- 3 December 2026
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
At the source
References
- https://git.kernel.org/stable/c/3da6acf8387e699f142d0bb723e921f2cca529da
- https://git.kernel.org/stable/c/45810081364b5fa468e6c8a33ecd9aa55a2ae90a
- https://git.kernel.org/stable/c/5073e10eb2bdcb3fe614abbfdefe2e41320222d6
- https://git.kernel.org/stable/c/61e7228c532950643d9ccaa2274d30c61a00d376
- https://git.kernel.org/stable/c/77f35ee4cf4e5981c3bd0fe403cc2b1db332aa4b
- https://git.kernel.org/stable/c/9b11cd179e854833089bc42e7cf57c7ddd1cca2b
- https://git.kernel.org/stable/c/9ca9e8c857b55a081d5a1f8039b27cbb4d646b49
- https://git.kernel.org/stable/c/abbe947c900683a5adef2829413f5beb925fd8b9
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-142819