NetBSD 10.2 Patches Critical Kernel Bug in ipfilter
NetBSD 10.2 addresses a critical remote kernel vulnerability in its ipfilter component, allowing unauthenticated attackers to crash the system.

The NetBSD Project has released NetBSD 10.2, a significant update that includes crucial security fixes, most notably patching a remotely triggerable null pointer dereference vulnerability within the ipfilter component. This flaw, when exploited, allows unauthenticated attackers to crash the entire operating system by sending specially crafted network packets. The ipfilter is often used on network edge devices for traffic management, making this vulnerability a serious concern for systems performing such functions.
The release, which shipped on September 15, also addresses a less severe but still important issue: a four-byte leak of kernel stack data through TCP timestamps. While seemingly small, leaked kernel addresses can be instrumental for attackers aiming to bypass memory randomization techniques and facilitate more complex exploits. This fix enhances the overall security posture of NetBSD systems by closing off a potential information disclosure vector.
Beyond these headline fixes, NetBSD 10.2 incorporates security enhancements for several other core components. The Network File System (NFS) and telnet services have received general security updates, though specific details and CVE identifiers were not provided in the changelog, underscoring the importance of applying the patch promptly for users of these services.
Third-party software bundled with NetBSD has also been updated to address security concerns. OpenSSL has been updated to version 3.0.21, Xorg to 21.1.24, and xkbcomp to 1.5.0, all incorporating security fixes. Additionally, libXpm has received upstream patches for CVE-2026-4367, and the unbound DNS resolver has been updated to fix CVE-2025-11411. The kernel itself now enforces stricter access checks on the /dev/hdaudio device, further hardening the system against potential privilege escalation attacks.
Administrators upgrading NetBSD are advised to follow a specific order to ensure a secure transition. For those performing a full installation upgrade, the process is straightforward. However, users updating existing installations must first update the kernel and modules, reboot the system, and then proceed with updating the userspace components. Adjusting package repository URLs and updating all third-party packages are also necessary steps, with a potential need for a separate installation of a new gpufw set via sysinst.
To ensure the integrity of the downloaded distribution, NetBSD provides PGP-signed hashes for every file. Security officers and administrators are urged to verify these hashes using the NetBSD Security Officer’s PGP key before deploying any new images to production environments. This practice is a critical step in preventing the installation of tampered or malicious software.
The cumulative effect of these updates in NetBSD 10.2 significantly bolsters the security of systems running the operating system, particularly those deployed at network perimeters or handling sensitive traffic. The patching of the critical ipfilter vulnerability is a timely reminder of the ongoing need for vigilance and regular system maintenance in the face of evolving threats.