android_kernel_sony_msm8994/include
Amit Pundir c50c339c0d net: core: fix Null ptr dereference in UID-based routing
sock_i_uid(struct sock *) is being called without checking
for a valid "struct sock" pointer, resulting in following
Null pointer dereference:

[   17.633071] Unable to handle kernel NULL pointer dereference at virtual address 00000198
[   17.641087] pgd = ffffffc07a554000
[   17.644465] [00000198] *pgd=00000000fa49b003, *pud=00000000fa49b003, *pmd=0000000000000000
[   17.652669] Internal error: Oops: 96000006 [#1] PREEMPT SMP
[   17.658186] Modules linked in:
[   17.661217] CPU: 1 PID: 1333 Comm: S21avahi-daemon Not tainted 4.0.0-rc7+ #2
[   17.668195] Hardware name: ARM Juno development board (r0) (DT)
[   17.674055] task: ffffffc976936800 ti: ffffffc079c0c000 task.ti: ffffffc079c0c000
[   17.681470] PC is at _raw_read_lock_bh+0x34/0x54
[   17.686042] LR is at sock_i_uid+0x24/0x64

Not that we need to check for valid pointer everytime we call
sock_i_uid() but plan is to at least do it when we are doing
this Null pointer check for other arguments.

Change-Id: I04521c1c38179687acd91d155ea2fd4658573ae7
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
2020-05-08 11:04:10 -04:00
..
acpi ACPICA: Tables: Change acpi_find_root_pointer() to use acpi_physical_address. 2015-05-17 09:51:33 -07:00
asm-generic bludgeon the qualcomm kernel until it builds on i386 for qemu testing 2017-01-11 22:34:45 +01:00
clocksource drivers: clocksource: add support for ARM architected timer event stream 2014-12-19 21:35:58 -08:00
crypto crypto: qcom: Add support for Inline Crypto Engine 2014-12-05 09:37:20 -08:00
drm This is the 3.10.84 stable release 2015-08-13 14:38:09 -07:00
dt-bindings regulator: rpm-smd-regulator: add support for level based voting 2015-06-29 18:01:39 -07:00
keys UPSTREAM: KEYS: Separate the kernel signature checking keyring from module signing 2016-05-10 13:15:51 +05:30
kvm
linux BACKPORT: smarter propagate_mnt() 2018-05-27 21:00:21 +02:00
math-emu
media Merge remote-tracking branch 'caf/LA.BF64.1.2.3_rb1.11' into HEAD 2017-04-17 14:23:09 +02:00
memory
misc
net net: core: fix Null ptr dereference in UID-based routing 2020-05-08 11:04:10 -04:00
pcmcia
ras
rdma
rxrpc
scsi scsi: Adjust DBD setting in mode sense for caching mode page per LLD 2014-11-13 12:55:04 +02:00
soc/qcom Merge remote-tracking branch 'caf/LA.BF64.1.2.3_rb1.15' into HEAD 2017-09-02 17:48:55 +02:00
sound Merge remote-tracking branch 'caf/LA.BF64.1.2.3_rb1.15' into HEAD 2017-09-02 17:48:55 +02:00
target
trace 32.3.A.0.372 2017-01-31 13:56:35 +01:00
uapi sdcardfs: Change magic value 2018-05-27 21:00:20 +02:00
video
xen
Kbuild