In the Linux kernel, the following vulnerability has been resolved:netlink: fix false positive warning in extack during dumpsCommit under fixes extended extack reporting to dumps.It works under normal conditions, because extack errors areusually reported during ->start() or the first ->dump(),it's quite rare that the dump starts okay but fails later.If the dump does fail later, however, the input skb willalready have the initiating message pulled, so checkingif bad attr falls within skb->data will fail.Switch the check to using nlh, which is always valid.syzbot found a way to hit that scenario by filling upthe receive queue. In this case we initiate a dumpbut don't call ->dump() until there is read space foran skb.WARNING: CPU: 1 PID: 5845 at net/netlink/af_netlink.c:2210 netlink_ack_tlv_fill+0x1a8/0x560 net/netlink/af_netlink.c:2209RIP: 0010:netlink_ack_tlv_fill+0x1a8/0x560 net/netlink/af_netlink.c:2209Call Trace:
No PoCs from references.
- https://github.com/cku-heise/euvd-api-doc