diff options
author | Evgeniy Polyakov <johnpol@2ka.mipt.ru> | 2007-11-16 02:52:32 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-11-16 02:52:32 +0300 |
commit | 7799652557d966e49512479f4d3b9079bbc01fff (patch) | |
tree | c0895084e075bf53697a66816e6bfcbe28d3859d /include | |
parent | a5a97263a9fd6a94f954d41ae3233ea65a90bd8a (diff) | |
download | linux-7799652557d966e49512479f4d3b9079bbc01fff.tar.xz |
[NETFILTER]: Fix NULL pointer dereference in nf_nat_move_storage()
Reported by Chuck Ebbert as:
https://bugzilla.redhat.com/show_bug.cgi?id=259501#c14
This routine is called each time hash should be replaced, nf_conn has
extension list which contains pointers to connection tracking users
(like nat, which is right now the only such user), so when replace takes
place it should copy own extensions. Loop above checks for own
extension, but tries to move higer-layer one, which can lead to above
oops.
Signed-off-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions