VDB

CVE-2026-53292

CVE-2026-53292 PUBLISHED

net: phonet: do not BUG_ON() in pn_socket_autobind() on failed bind

Reported by linux · Published June 26, 2026

In the Linux kernel, the following vulnerability has been resolved: net: phonet: do not BUG_ON() in pn_socket_autobind() on failed bind syzbot reported a kernel BUG triggered from pn_socket_sendmsg() via pn_socket_autobind(): kernel BUG at net/phonet/socket.c:213! RIP: 0010:pn_socket_autobind net/phonet/socket.c:213 [inline] RIP: 0010:pn_socket_sendmsg+0x240/0x250 net/phonet/socket.c:421 Call Trace: sock_sendmsg_nosec+0x112/0x150 net/socket.c:797 __sock_sendmsg net/socket.c:812 [inline] __sys_sendto+0x402/0x590 net/socket.c:2280 ... pn_socket_autobind() calls pn_socket_bind() with port 0 and, on -EINVAL, assumes the socket was already bound and asserts that the port is non-zero: err = pn_socket_bind(sock, ..., sizeof(struct sockaddr_pn)); if (err != -EINVAL) return err; BUG_ON(!pn_port(pn_sk(sock->sk)->sobject)); return 0; /* socket was already bound */ However pn_socket_bind() also returns -EINVAL when sk->sk_state is not TCP_CLOSE, even when the socket has never been bound and pn_port() is still 0. In that case the BUG_ON() fires and panics the kernel from a user-triggerable path. Treat the "bind returned -EINVAL but pn_port() is still 0" case as a regular error and propagate -EINVAL to the caller instead of crashing. Existing callers already translate a non-zero return from pn_socket_autobind() into -ENOBUFS/-EAGAIN, so returning -EINVAL here only changes behaviour from panic to a normal errno.

EPSS 0.16% · 5.5th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux_kernellinux7.0.10

Risk scores

EPSS Score
0.16%
5.5th percentile

Affected products

VendorProductVersions
LinuxLinuxba113a94b7503ee23ffe819e7045134b0c1d31de, ba113a94b7503ee23ffe819e7045134b0c1d31de, ba113a94b7503ee23ffe819e7045134b0c1d31de
LinuxLinux2.6.28, 0, 6.1.191
chainguardlinux-vmware-6.12*
chainguardlinux-vmware-6.18*
chainguardlinux-gcp-6.12*
chainguardlinux-qemu-6.12*
chainguardlinux-aws-6.18*
chainguardlinux-qemu-6.18*
chainguardlinux-aws-6.12*
linuxlinux_kernel2.6.28, 2.6.28, 2.6.28
chainguardlinux-azure-6.18*
chainguardlinux-azure-6.12*
chainguardlinux-gcp-6.18*
LinuxLinux*, *, *
chainguardlinux-qemu-melange*

Timeline

  • Jun 26, 2026 CVE Published
  • Jun 27, 2026 EPSS Score (12 in total, the first dated here)
  • Jun 27, 2026 Coalition ESS Score
  • Jun 29, 2026 Security Advisory (31 in total, the first dated here)
  • Aug 11, 2026 Distribution Patch (29 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-53292
vulnetix vdb fixes CVE-2026-53292

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-53292/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›