diff options
author | Davide Caratti <dcaratti@redhat.com> | 2020-04-06 11:38:29 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-04-06 19:26:08 +0200 |
commit | aa81700cf2326e288c9ca1fe7b544039617f1fc2 (patch) | |
tree | 341d8daa358d59acd7a6ee86becaba31c519ef14 /Documentation/devicetree/bindings/mtd/denali-nand.txt | |
parent | skbuff.h: Improve the checksum related comments (diff) | |
download | linux-aa81700cf2326e288c9ca1fe7b544039617f1fc2.tar.xz linux-aa81700cf2326e288c9ca1fe7b544039617f1fc2.zip |
macsec: fix NULL dereference in macsec_upd_offload()
macsec_upd_offload() gets the value of MACSEC_OFFLOAD_ATTR_TYPE
without checking its presence in the request message, and this causes
a NULL dereference. Fix it rejecting any configuration that does not
include this attribute.
Reported-and-tested-by: syzbot+7022ab7c383875c17eff@syzkaller.appspotmail.com
Fixes: dcb780fb2795 ("net: macsec: add nla support for changing the offloading selection")
Signed-off-by: Davide Caratti <dcaratti@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/devicetree/bindings/mtd/denali-nand.txt')
0 files changed, 0 insertions, 0 deletions