All of lore.kernel.org
 help / color / mirror / Atom feed
* null pointer dereferenced with Ubuntu kernel 4.15
@ 2020-03-09 14:15 Peter Grandi
       [not found] ` <24166.20345.583274.370928-jdnFGoDsuNlYO2OccljXW7VCufUGDwFn@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Grandi @ 2020-03-09 14:15 UTC (permalink / raw)
  To: Linux fs NILFS

[-- Attachment #1: message body text --]
[-- Type: text/plain, Size: 514 bytes --]

Dear NILFSers I am perplexed because on upgrading my standard
Ubuntu LTS kernel "4.15.0-88-generic" I keep getting null
pointer dereferences as per attached kernel messages, and this
did not happen with the previous version "4.15.0-72-generic".

This seems to be happening with a specific filetree (I have 5
NILFS filetrees), but then I use mostly that one (the others are
in large part archives). If it is that some corruption or
uninitialized field has happened with that specific one I can
easily recreate it.


[-- Attachment #2: trace of null pointer dereference ULTS kernel 4.15.0-88-generic --]
[-- Type: text/plain, Size: 2948 bytes --]

[74917.285978] NILFS (dm-2): mounting unchecked fs
[74917.523911] NILFS (dm-2): recovery complete
[74917.525792] NILFS (dm-2): segctord starting. Construction interval = 10 seconds, CP frequency < 30 seconds
[74919.917507] DROP_I last: IN=eth0 OUT= MAC=01:00:5e:00:00:01:10:13:31:a3:0d:ae:08:00 SRC=192.168.1.1 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0xC0 TTL=
[75004.175846] BUG: unable to handle kernel NULL pointer dereference at 00000000000000a8
[75004.175864] IP: percpu_counter_add_batch+0xf/0x70
[75004.175868] PGD 0 P4D 0
[75004.175874] Oops: 0000 [#1] SMP NOPTI
[75004.175878] Modules linked in: rfcomm dm_crypt nf_log_ipv6 xt_multiport nf_log_ipv4 nf_log_common xt_limit eeprom jc42 it87 hwmon_vid nf_nat_tft
[75004.175923]  xt_LOG ipt_ECN xt_DSCP ipt_CLUSTERIP iptable_raw iptable_nat nf_nat_ipv4 iptable_mangle arptable_filter arpt_mangle arp_tables sit
[75004.175973]  twofish_generic snd_seq_device snd_timer twofish_avx_x86_64 twofish_x86_64_3way snd twofish_x86_64 twofish_common soundcore i2c_pii
[75004.176022]  uas usb_storage amdkfd amd_iommu_v2 amdgpu chash i2c_algo_bit ttm drm_kms_helper syscopyarea hid_generic sysfillrect mxm_wmi sysimg
[75004.176042] CPU: 6 PID: 15910 Comm: segctord Not tainted 4.15.0-88-generic #88~16.04.1-Ubuntu
[75004.176046] Hardware name: To be filled by O.E.M. To be filled by O.E.M./M5A97 LE R2.0, BIOS 2501 04/09/2014
[75004.176063] RIP: 0010:percpu_counter_add_batch+0xf/0x70
[75004.176066] RSP: 0018:ffffb4d10e087cc0 EFLAGS: 00010006
[75004.176071] RAX: 0000000000000003 RBX: ffffed848f302f80 RCX: 000000000000001b
[75004.176074] RDX: 0000000000000020 RSI: 0000000000000001 RDI: 0000000000000088
[75004.176078] RBP: ffffb4d10e087cd8 R08: 0000000000000000 R09: ffff9d0450dd0d90
[75004.176081] R10: 0000000000000000 R11: 0000000000000228 R12: 0000000000000088
[75004.176084] R13: 0000000000000001 R14: ffff9d0450cd5558 R15: ffff9d0450cd56d0
[75004.176088] FS:  0000000000000000(0000) GS:ffff9d047ed80000(0000) knlGS:0000000000000000
[75004.176092] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[75004.176095] CR2: 00000000000000a8 CR3: 0000000756614000 CR4: 00000000000406e0
[75004.176098] Call Trace:
[75004.176109]  __test_set_page_writeback+0x2f0/0x310
[75004.176133]  nilfs_segctor_do_construct+0x152e/0x2070 [nilfs2]
[75004.176151]  nilfs_segctor_construct+0x1b0/0x310 [nilfs2]
[75004.176167]  ? nilfs_segctor_construct+0x1b0/0x310 [nilfs2]
[75004.176183]  nilfs_segctor_thread+0x108/0x380 [nilfs2]
[75004.176189]  kthread+0x105/0x140
[75004.176204]  ? nilfs_segctor_construct+0x310/0x310 [nilfs2]
[75004.176209]  ? kthread_bind+0x40/0x40
[75004.176215]  ret_from_fork+0x22/0x40
[75004.176219] Code: 38 e1 4e 00 48 89 d8 5b 41 5c 41 5d 5d c3 0f 1f 40 00 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 e5 41 55 49 89 f5 41 54 49 89 fc
[75004.176263] RIP: percpu_counter_add_batch+0xf/0x70 RSP: ffffb4d10e087cc0
[75004.176265] CR2: 00000000000000a8
[75004.176270] ---[ end trace 33744c64725742d2 ]---

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: null pointer dereferenced with Ubuntu kernel 4.15
       [not found] ` <24166.20345.583274.370928-jdnFGoDsuNlYO2OccljXW7VCufUGDwFn@public.gmane.org>
@ 2020-03-09 18:42   ` Reinoud Zandijk
       [not found]     ` <20200309184240.GA14772-WweU7nrmO3INqjISwOrxaLFspR4gePGN@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Reinoud Zandijk @ 2020-03-09 18:42 UTC (permalink / raw)
  To: Peter Grandi; +Cc: Linux fs NILFS

I have these too, it looks like something in the linux kernel must hsve
changed and tgey didn't test or looked for issues in the nilfs code. It only
starts here with writing on a previously written volume. A new volume works
fine.


On Mon, Mar 09, 2020 at 02:15:21PM +0000, Peter Grandi wrote:
> Dear NILFSers I am perplexed because on upgrading my standard
> Ubuntu LTS kernel "4.15.0-88-generic" I keep getting null
> pointer dereferences as per attached kernel messages, and this
> did not happen with the previous version "4.15.0-72-generic".


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: null pointer dereferenced with Ubuntu kernel 4.15
       [not found]     ` <20200309184240.GA14772-WweU7nrmO3INqjISwOrxaLFspR4gePGN@public.gmane.org>
@ 2020-03-13 18:57       ` Peter Grandi
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Grandi @ 2020-03-13 18:57 UTC (permalink / raw)
  To: Linux fs NILFS

>> Dear NILFSers I am perplexed because on upgrading my standard
>> Ubuntu LTS kernel "4.15.0-88-generic" I keep getting null
>> pointer dereferences as per attached kernel messages, and this
>> did not happen with the previous version "4.15.0-72-generic".

> I have these too, it looks like something in the linux kernel
> must hsve changed and tgey didn't test or looked for issues in
> the nilfs code.

That's my guess too, but it is a bit strange that it happens
between two minor versions of the same base kernel. But then
Debian and Ubuntu backport stuff to their kernels, so that's
probably why.

> It only starts here with writing on a previously written
> volume. A new volume works fine.

I have checked and that happens here too: if I recreated and
reload the volume no problems, but on the next reboot and mount
the problem reappears. I guess I'll try deleting the last
checkpoint to see if that helps, and/or looking at what changes
between the -72 and -88 versions of the 4.15.0 kernel if
anything seems related (there will be lots of changes I guess
though).

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-03-13 18:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-09 14:15 null pointer dereferenced with Ubuntu kernel 4.15 Peter Grandi
     [not found] ` <24166.20345.583274.370928-jdnFGoDsuNlYO2OccljXW7VCufUGDwFn@public.gmane.org>
2020-03-09 18:42   ` Reinoud Zandijk
     [not found]     ` <20200309184240.GA14772-WweU7nrmO3INqjISwOrxaLFspR4gePGN@public.gmane.org>
2020-03-13 18:57       ` Peter Grandi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.