Nixpkgs security tracker

Login with GitHub
⚠️ You are using a production deployment that is still only suitable for demo purposes. Any work done in this might be wiped later without notice.

Suggestion detail

Dismissed
(max. allowed matches exceeded)
created 3 weeks, 4 days ago Activity log
  • Created & dismissed (max. allowed matches exceeded) suggestion
net: ife: require ETH_HLEN to be pullable in ife_decode()

In the Linux kernel, the following vulnerability has been resolved: net: ife: require ETH_HLEN to be pullable in ife_decode() ife decode may return after making only the outer IFE header and metadata pullable. The caller then passes the decapsulated packet to eth_type_trans(), which expects the inner Ethernet header to be accessible from the linear data area. With a malformed IFE frame, the inner Ethernet header may still be shorter than ETH_HLEN in the linear area, which can lead to a crash in the original code. Fix this by extending the pull check in ife_decode() so that the inner Ethernet header is also guaranteed to be pullable before returning.

Affected products

Linux
  • <4.6
  • =<5.10.*
  • <9433578bff9c100c466a6354574892e55293cb8f
  • <be272e159dfe1207b67332ad6e17adcf59b4ea4b
  • =<6.6.*
  • =<*
  • <8c8818e52fddb247ff3214622401a4de6ff8482e
  • <9406f6012b7343661efb516a11c62d4db2b62f75
  • <1cb42ec10294a55380e52e674b3df2b962648242
  • <b69ad768cd4a2ef4e07c18492ae85438ed17c7cb
  • =<6.18.*
  • =<6.12.*
  • =<7.1.*
  • =<5.15.*
  • =<6.1.*
  • ==4.6
  • <70013f9163bef7fbd9fa62f81cf91b2a7ba66163
  • <5526d1997aea6c9bd865ca4d4894b52e799d735c