Re: [lkp-robot] 486ad79630 [ 15.532543] BUG: unable to handle kernel NULL pointer dereference at 0000000000000004
On Wed, May 2, 2018 at 10:44 PM, Andrew Morton wrote: > On Wed, 2 May 2018 21:58:25 -0700 Cong Wang wrote: > >> On Wed, May 2, 2018 at 9:27 PM, Andrew Morton >> wrote: >> > >> > So it's saying that something which got committed into Linus's tree >> > after 4.17-rc3 has caused a NULL deref in >> > sock_release->llc_ui_release+0x3a/0xd0 >> >> Do you mean it contains commit 3a04ce7130a7 >> ("llc: fix NULL pointer deref for SOCK_ZAPPED")? > > That was in 4.17-rc3 so if this report's bisection is correct, that > patch is innocent. > > origin.patch (http://ozlabs.org/~akpm/mmots/broken-out/origin.patch) > contains no changes to net/llc/af_llc.c so perhaps this crash is also > occurring in 4.17-rc3 base. The commit I pointed out is supposed to fix this bug... Please let me know if it doesn't.
Re: [lkp-robot] 486ad79630 [ 15.532543] BUG: unable to handle kernel NULL pointer dereference at 0000000000000004
On Wed, 2 May 2018 21:58:25 -0700 Cong Wang wrote: > On Wed, May 2, 2018 at 9:27 PM, Andrew Morton > wrote: > > > > So it's saying that something which got committed into Linus's tree > > after 4.17-rc3 has caused a NULL deref in > > sock_release->llc_ui_release+0x3a/0xd0 > > Do you mean it contains commit 3a04ce7130a7 > ("llc: fix NULL pointer deref for SOCK_ZAPPED")? That was in 4.17-rc3 so if this report's bisection is correct, that patch is innocent. origin.patch (http://ozlabs.org/~akpm/mmots/broken-out/origin.patch) contains no changes to net/llc/af_llc.c so perhaps this crash is also occurring in 4.17-rc3 base.
Re: [lkp-robot] 486ad79630 [ 15.532543] BUG: unable to handle kernel NULL pointer dereference at 0000000000000004
On Wed, May 2, 2018 at 9:27 PM, Andrew Morton wrote: > > So it's saying that something which got committed into Linus's tree > after 4.17-rc3 has caused a NULL deref in > sock_release->llc_ui_release+0x3a/0xd0 Do you mean it contains commit 3a04ce7130a7 ("llc: fix NULL pointer deref for SOCK_ZAPPED")?
Re: [lkp-robot] 486ad79630 [ 15.532543] BUG: unable to handle kernel NULL pointer dereference at 0000000000000004
(networking cc's added) On Thu, 3 May 2018 12:14:50 +0800 kernel test robot wrote: > Greetings, > > 0day kernel testing robot got the below dmesg and the first bad commit is > > git://git.cmpxchg.org/linux-mmotm.git master > > commit 486ad79630d0ba0b7205a8db9fe15ba392f5ee32 > Author: Andrew Morton > AuthorDate: Fri Apr 20 22:00:53 2018 + > Commit: Johannes Weiner > CommitDate: Fri Apr 20 22:00:53 2018 + > > origin OK, this got confusing. origin.patch is the diff between 4.17-rc3 and current mainline. > > [many lines deleted] > > [main] Setsockopt(101 c 1b24000 a) on fd 177 [3:5:240] > [main] Setsockopt(1 2c 1b24000 4) on fd 178 [5:2:0] > [main] Setsockopt(29 8 1b24000 4) on fd 180 [10:1:0] > [main] Setsockopt(1 20 1b24000 4) on fd 181 [26:2:125] > [main] Setsockopt(11 1 1b24000 4) on fd 183 [2:2:17] > [ 15.532543] BUG: unable to handle kernel NULL pointer dereference at > 0004 > [ 15.534143] PGD 80001734b067 P4D 80001734b067 PUD 17350067 PMD 0 > [ 15.535516] Oops: 0002 [#1] PTI > [ 15.536165] Modules linked in: > [ 15.536798] CPU: 0 PID: 363 Comm: trinity-main Not tainted > 4.17.0-rc1-1-g486ad79 #2 > [ 15.538396] RIP: 0010:llc_ui_release+0x3a/0xd0 > [ 15.539293] RSP: 0018:c915bd70 EFLAGS: 00010202 > [ 15.540345] RAX: 0001 RBX: 88001fa60008 RCX: > 0006 > [ 15.541802] RDX: 0006 RSI: 88001fdda660 RDI: > 88001fa60008 > [ 15.543139] RBP: c915bd80 R08: R09: > > [ 15.544725] R10: R11: R12: > > [ 15.546287] R13: 88001fa61730 R14: 88001e130a60 R15: > 880019bdb3f0 > [ 15.547962] FS: 7f2221bb1700() GS:82034000() > knlGS: > [ 15.549848] CS: 0010 DS: ES: CR0: 80050033 > [ 15.551186] CR2: 0004 CR3: 1734e000 CR4: > 06b0 > [ 15.552671] DR0: 02232000 DR1: DR2: > > [ 15.554105] DR3: DR6: 0ff0 DR7: > 0600 > [ 15.34] Call Trace: > [ 15.556049] sock_release+0x14/0x60 > [ 15.556767] sock_close+0xd/0x20 > [ 15.557427] __fput+0xba/0x1f0 > [ 15.558058] fput+0x9/0x10 > [ 15.558682] task_work_run+0x73/0xa0 > [ 15.559416] do_exit+0x231/0xab0 > [ 15.560079] do_group_exit+0x3f/0xc0 > [ 15.560810] __x64_sys_exit_group+0x13/0x20 > [ 15.561656] do_syscall_64+0x58/0x2f0 > [ 15.562407] ? trace_hardirqs_off_thunk+0x1a/0x1c > [ 15.563360] entry_SYSCALL_64_after_hwframe+0x49/0xbe > [ 15.564471] RIP: 0033:0x7f2221696408 > [ 15.565264] RSP: 002b:7ffe5c544c48 EFLAGS: 0206 ORIG_RAX: > 00e7 > [ 15.566924] RAX: ffda RBX: RCX: > 7f2221696408 > [ 15.568485] RDX: RSI: 003c RDI: > > [ 15.570046] RBP: R08: 00e7 R09: > ffa0 > [ 15.571603] R10: 7ffe5c5449e0 R11: 0206 R12: > 0004 > [ 15.573160] R13: 7ffe5c544e30 R14: R15: > > [ 15.574720] Code: 7b ff 43 78 0f 88 a5 6f 14 00 31 f6 48 89 df e8 ad 33 fb > ff 48 89 df e8 55 94 ff ff 85 c0 0f 84 84 00 00 00 4c 8b a3 d8 04 00 00 <41> > ff 44 24 04 0f 88 7f 6f 14 00 48 8b 43 58 f6 c4 01 74 58 48 > [ 15.578679] RIP: llc_ui_release+0x3a/0xd0 RSP: c915bd70 > [ 15.579874] CR2: 0004 > [ 15.580553] ---[ end trace 0dd8fdc6b7182234 ]--- > So it's saying that something which got committed into Linus's tree after 4.17-rc3 has caused a NULL deref in sock_release->llc_ui_release+0x3a/0xd0