FreeSenseFreeSenseSecurity
freesense.org
← Not relevant vulnerabilities
Not relevant

blocklistd(8) socket leak

FreeBSD-SA-26:03.blocklistd · CVE-2026-2261

Our decision for FreeSense

blocklistd is not built into FreeSense.

  • freesense-os-base patches/0003-release-and-src-conf.patch: WITHOUT_BLACKLIST=YES
Decided by rules, not yet reviewed. The status comes from the advisory's correction date and the build configuration. A maintainer has not looked at whether FreeSense is exposed in practice. How we triage

By FreeSense version

VersionStatusFreeBSD pin
FreeSense 1.01.0.7 · frozen, no further fixesNot relevant2026-08-03e004ff15
FreeSense 1.11.1.9Not relevant2026-10-04a52c50b4
FreeSense 1.21.2.0-DEVELOPMENTNot relevant2026-10-04a52c50b4

Workaround

The issue can be mitigated to a certain extent by regularly restarting the blocklistd service. However, a determined attacker with access to a sufficiently large pool of sacrificial IP addresses will be able to disable blocklistd in a matter of minutes, or hours at most.

What FreeBSD says

Due to a programming error, blocklistd leaks a socket descriptor for each adverse event report it receives. Once a certain number of leaked sockets is reached, blocklistd becomes unable to run the helper script: a child process is forked, but this child dereferences a null pointer and crashes before it is able to exec the helper. At this point, blocklistd still records adverse events but is unable to block new addresses or unblock addresses whose database entries have expired. Once a second, much higher number of leaked sockets is reached, blocklistd becomes unable to receive new adverse event reports.

Impact

An attacker may take advantage of this by triggering a large number of adverse events from sacrificial IP addresses to effectively disable blocklistd before launching an attack. Even in the absence of attacks or probes by would-be attackers, adverse events will occur regularly in the course of normal operations, and blocklistd will gradually run out file descriptors and become ineffective. The accumulation of open sockets may have knock-on effects on other parts of the system, resulting in a general slowdown until blocklistd is restarted.

Excerpt from the FreeBSD advisory. Read the original for the full text and the fix.

Copied to clipboard