summaryrefslogtreecommitdiffstats
path: root/Documentation/mm/process_addrs.rst
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2023-03-01 16:44:50 +0100
committerStefan Schmidt <stefan@datenfreihafen.org>2023-03-02 14:39:48 +0100
commit02f18662f6c671382345fcb696e808d78f4c194a (patch)
tree3758ec8613ed2cbed5788b9a2fde6455470d23fb /Documentation/mm/process_addrs.rst
parentca8210: fix mac_len negative array access (diff)
downloadlinux-02f18662f6c671382345fcb696e808d78f4c194a.tar.xz
linux-02f18662f6c671382345fcb696e808d78f4c194a.zip
ieee802154: Prevent user from crashing the host
Avoid crashing the machine by checking info->attrs[NL802154_ATTR_SCAN_TYPE] presence before de-referencing it, which was the primary intend of the blamed patch. Reported-by: Sanan Hasanov <sanan.hasanov@Knights.ucf.edu> Suggested-by: Eric Dumazet <edumazet@google.com> Fixes: a0b6106672b5 ("ieee802154: Convert scan error messages to extack") Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/r/20230301154450.547716-1-miquel.raynal@bootlin.com Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
Diffstat (limited to 'Documentation/mm/process_addrs.rst')
0 files changed, 0 insertions, 0 deletions