diff options
| author | Stefan Tomanek <[email protected]> | 2013-12-10 22:21:25 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2013-12-10 22:54:23 +0000 |
| commit | 673498b8ed4c4d4b7221c5309d891c5eac2b7528 (patch) | |
| tree | b0e29c809ae12246f544fa3c6552af71acd361e7 /net/unix/af_unix.c | |
| parent | net: drop_monitor: fix the value of maxattr (diff) | |
| download | kernel-673498b8ed4c4d4b7221c5309d891c5eac2b7528.tar.gz kernel-673498b8ed4c4d4b7221c5309d891c5eac2b7528.zip | |
inet: fix NULL pointer Oops in fib(6)_rule_suppress
This changes ensures that the routing entry investigated by the suppress
function actually does point to a device struct before following that pointer,
fixing a possible kernel oops situation when verifying the interface group
associated with a routing table entry.
According to Daniel Golle, this Oops can be triggered by a user process trying
to establish an outgoing IPv6 connection while having no real IPv6 connectivity
set up (only autoassigned link-local addresses).
Fixes: 6ef94cfafba15 ("fib_rules: add route suppression based on ifgroup")
Reported-by: Daniel Golle <[email protected]>
Tested-by: Daniel Golle <[email protected]>
Signed-off-by: Stefan Tomanek <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
