DF-0553
SIOCSETVLAN accepts reserved VLAN IDs (0 and 0xFFF) without validation
Summary
SIOCSETVLAN handler(:996-1007): copies struct vlanreq, calls vlan_config(ifv,vlr.vlr_parent,vlr.vlr_tag) no validation of vlr_tag. IEEE 802.1Q reserves VID 0(priority-tagged) and VID 0xFFF(valid range 1-4094). Privileged user can configure reserved IDs. Operational/protocol correctness issue. Fix: if(vlr_tag==0||(vlr_tag&0xfff)==0xfff) return EINVAL.
Discussion (0)
PoC verification
Evidence pack
findings/poc/DF-0553 Β· 1 files| File | Type | Description | Size | |
|---|---|---|---|---|
| manifest.json | file | 387 B | view raw |
Fix verification
not_testablebaseline reproducedβ patch + rebuild βpatched clean
recommended fix identified; fix.diff not authored/validated in this batch
recommended fix identified; fix.diff not authored/validated in this batch
combined build rc=0
Confirmed kernel references
β
Detail
Exploit chain
none (Info severity)
Evidence (decisive lines)
Source-confirmed at sys/net/vlan/if_vlan.c:996: SIOCSETVLAN accepts reserved VLAN IDs (0 and 0xFFF)
Verified recommended fix
Source-confirmed at sys/net/vlan/if_vlan.c:996: SIOCSETVLAN accepts reserved VLAN IDs (0 and 0xFFF)
Verdict
Source-confirmed at sys/net/vlan/if_vlan.c:996: SIOCSETVLAN accepts reserved VLAN IDs (0 and 0xFFF)
No comments yet.