Skip to content

fragroute: test ip_opt on a packet with ip_len below ip_hl; credit kta1kri - #1225

Merged
fklassen merged 1 commit into
masterfrom
fragroute-ip-opt-short-ip-len
Nov 23, 2026
Merged

fklassen merged 1 commit into
masterfrom
fragroute-ip-opt-short-ip-len

Conversation

@fklassen

Copy link
Copy Markdown
Member

GHSA-9x76-w8p7-m2m7 (reported by kta1kri) is fixed by ip_can_add_option() from #1179, which shipped in 4.6.3. That change was tested for reproducer A (ip_len == 0, ip_opt and ip_chaff opt) but not for reproducer B, an IPv4 header with ihl 8 and ip_len 20.

  • test/unit/test_fragroute.c: ip_opt lsrr on a packet whose ip_len is smaller than its header must not fault.
  • docs/CREDIT: adds the reporter.

🤖 Generated with Claude Code

…a1kri

GHSA-9x76-w8p7-m2m7 reproducer B: ihl 8 with ip_len 20. The fix is
ip_can_add_option() from 7baf577, shipped in 4.6.3.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@fklassen
fklassen merged commit a27e808 into master Nov 23, 2026
15 checks passed
@fklassen
fklassen deleted the fragroute-ip-opt-short-ip-len branch November 23, 2026 02:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant