After doing some bisection I found the following commit to introduce the problem:
120645513f55a4ac5543120d9e79925d30a0156f is the first bad commit commit 120645513f55a4ac5543120d9e79925d30a0156f Author: Jarno Rajahalme <ja...@ovn.org> Date: Fri Apr 21 16:48:06 2017 -0700 openvswitch: Add eventmask support to CT action. Add a new optional conntrack action attribute OVS_CT_ATTR_EVENTMASK, which can be used in conjunction with the commit flag (OVS_CT_ATTR_COMMIT) to set the mask of bits specifying which conntrack events (IPCT_*) should be delivered via the Netfilter netlink multicast groups. Default behavior depends on the system configuration, but typically a lot of events are delivered. This can be very chatty for the NFNLGRP_CONNTRACK_UPDATE group, even if only some types of events are of interest. Netfilter core init_conntrack() adds the event cache extension, so we only need to set the ctmask value. However, if the system is configured without support for events, the setting will be skipped due to extension not being found. Signed-off-by: Jarno Rajahalme <ja...@ovn.org> Reviewed-by: Greg Rose <gvrose8...@gmail.com> Acked-by: Joe Stringer <j...@ovn.org> Signed-off-by: David S. Miller <da...@davemloft.net> ** Also affects: linux (Ubuntu Bionic) Importance: Undecided Status: New -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1814054 Title: BUG: unable to handle kernel paging request at ee835a95 Status in linux package in Ubuntu: Incomplete Status in linux source package in Bionic: New Status in linux source package in Cosmic: New Status in linux source package in Disco: Incomplete Bug description: Booting Bionic i386 in a VM and running the following commands repeatedly: ovs-vsctl add-br test ovs-vsctl del-br test eventually leads to: [ 44.476751] IP: kmem_cache_alloc_trace+0x91/0x1d0 [ 44.477299] *pdpt = 000000001ae13001 *pde = 0000000000000000 [ 44.477956] Oops: 0000 [#1] SMP [ 44.478340] Modules linked in: dummy openvswitch nsh nf_conntrack_ipv6 nf_nat_ipv6 nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_defrag_ipv6 nf_nat nf_conntrack isofs kvm_intel kvm irqbypass input_leds joydev serio_raw sch_fq_codel ib_iser rdma_cm iw_cm ib_cm ib_core iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi ip_tables x_tables autofs4 btrfs zstd_compress raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear psmouse virtio_blk virtio_net floppy [ 44.483687] CPU: 0 PID: 553 Comm: systemd-network Tainted: G W 4.15.0-44-generic #47-Ubuntu [ 44.484819] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.11.1-1ubuntu1 04/01/2014 [ 44.485865] EIP: kmem_cache_alloc_trace+0x91/0x1d0 [ 44.486451] EFLAGS: 00010286 CPU: 0 [ 44.486917] EAX: df719701 EBX: ee835a95 ECX: 0000e8e4 EDX: 0000e8e3 [ 44.487663] ESI: df7197e0 EDI: df401a00 EBP: df7cbda0 ESP: df7cbd78 [ 44.488440] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068 [ 44.489103] CR0: 80050033 CR2: ee835a95 CR3: 1f7f7ac0 CR4: 000006f0 [ 44.489918] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000 [ 44.490717] DR6: fffe0ff0 DR7: 00000400 [ 44.491265] Call Trace: [ 44.491655] ? seq_open+0x2d/0x80 [ 44.492136] seq_open+0x2d/0x80 [ 44.492602] kernfs_fop_open+0x1a0/0x360 [ 44.493146] do_dentry_open+0x1ac/0x2f0 [ 44.493688] ? kernfs_seq_start+0x90/0x90 [ 44.494258] vfs_open+0x41/0x70 [ 44.494717] path_openat+0x5e0/0x13f0 [ 44.495234] ? dput.part.23+0xcf/0x1e0 [ 44.495761] ? mntput+0x20/0x40 [ 44.496227] do_filp_open+0x6a/0xd0 [ 44.496739] ? __alloc_fd+0x36/0x160 [ 44.497267] do_sys_open+0x1ad/0x2b0 [ 44.497800] SyS_openat+0x1b/0x20 [ 44.498297] do_fast_syscall_32+0x7f/0x1e0 [ 44.498882] entry_SYSENTER_32+0x4e/0x7c [ 44.499450] EIP: 0xb7f0dd09 [ 44.499888] EFLAGS: 00000282 CPU: 0 [ 44.500410] EAX: ffffffda EBX: ffffff9c ECX: bfa5fdc0 EDX: 00088000 [ 44.501244] ESI: 00000000 EDI: 00000000 EBP: 00088000 ESP: bfa5fc60 [ 44.502078] DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 007b [ 44.502833] Code: 33 87 b8 00 00 00 89 75 dc 89 c3 89 45 e0 8b 45 f0 31 f3 8b 37 64 0f c7 0e 0f 94 c0 84 c0 74 bb 8b 75 dc 3b 75 e0 74 0e 03 5f 14 <33> 1b 33 9f b8 00 00 00 0f 18 03 f7 45 ec 00 80 00 00 0f 85 f7 [ 44.505346] EIP: kmem_cache_alloc_trace+0x91/0x1d0 SS:ESP: 0068:df7cbd78 [ 44.506250] CR2: 00000000ee835a95 [ 44.506751] ---[ end trace 3c49b27dd79507a3 ]--- [ 44.508624] BUG: unable to handle kernel paging request at ee835a95 [ 44.509508] IP: __kmalloc+0x85/0x220 [ 44.510020] *pdpt = 000000001ae13001 *pde = 0000000000000000 [ 44.510829] Oops: 0000 [#2] SMP [ 44.511307] Modules linked in: dummy openvswitch nsh nf_conntrack_ipv6 nf_nat_ipv6 nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_defrag_ipv6 nf_nat nf_conntrack isofs kvm_intel kvm irqbypass input_leds joydev serio_raw sch_fq_codel ib_iser rdma_cm iw_cm ib_cm ib_core iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi ip_tables x_tables autofs4 btrfs zstd_compress raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear psmouse virtio_blk virtio_net floppy [ 44.517190] CPU: 0 PID: 1854 Comm: journal-offline Tainted: G D W 4.15.0-44-generic #47-Ubuntu [ 44.518478] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.11.1-1ubuntu1 04/01/2014 [ 44.519730] EIP: __kmalloc+0x85/0x220 [ 44.520275] EFLAGS: 00010086 CPU: 0 [ 44.520794] EAX: dfacdbf0 EBX: 00000000 ECX: ee835a95 EDX: 0000e8e4 [ 44.521666] ESI: dae09bf0 EDI: df401a00 EBP: dcaf59fc ESP: dcaf59d4 [ 44.522497] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068 [ 44.523215] CR0: 80050033 CR2: ee835a95 CR3: 1cf932a0 CR4: 000006f0 [ 44.523990] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000 [ 44.524826] DR6: fffe0ff0 DR7: 00000400 [ 44.525382] Call Trace: [ 44.525768] ? alloc_indirect.isra.14+0x1b/0x40 [ 44.526402] alloc_indirect.isra.14+0x1b/0x40 [ 44.527025] virtqueue_add_sgs+0x208/0x460 [ 44.527610] virtio_queue_rq+0x163/0x310 [virtio_blk] [ 44.528281] blk_mq_dispatch_rq_list+0x74/0x440 [ 44.528913] blk_mq_sched_dispatch_requests+0x184/0x190 [ 44.529639] __blk_mq_run_hw_queue+0x6f/0xb0 [ 44.530252] __blk_mq_delay_run_hw_queue+0x57/0x60 [ 44.530935] blk_mq_run_hw_queue+0x22/0x80 [ 44.531523] blk_mq_sched_insert_requests+0x73/0x80 [ 44.532207] blk_mq_flush_plug_list+0x1a8/0x220 [ 44.532899] ? __blk_mq_get_tag+0x23/0x90 [ 44.533465] blk_flush_plug_list+0xb9/0x1f0 [ 44.534063] blk_mq_make_request+0x3dc/0x570 [ 44.534700] generic_make_request+0xfc/0x2e0 [ 44.535344] submit_bio+0x67/0x130 [ 44.535868] ? __test_set_page_writeback+0x12c/0x2a0 [ 44.536538] ext4_io_submit+0x40/0x50 [ 44.537082] ext4_bio_write_page+0x208/0x4b0 [ 44.537713] mpage_submit_page+0x8c/0xc0 [ 44.538272] mpage_map_and_submit_extent+0x1fd/0x710 [ 44.538937] ext4_writepages+0x6d8/0x880 [ 44.539486] do_writepages+0x39/0xc0 [ 44.540000] ? rb_erase_cached+0x290/0x360 [ 44.540563] __filemap_fdatawrite_range+0xb4/0xe0 [ 44.541207] file_write_and_wait_range+0x55/0xa0 [ 44.541844] ext4_sync_file+0x101/0x3d0 [ 44.542389] ? ext4_getfsmap+0x330/0x330 [ 44.542941] vfs_fsync_range+0x3f/0xb0 [ 44.543490] do_fsync+0x2e/0x60 [ 44.543952] SyS_fsync+0x12/0x20 [ 44.544427] do_fast_syscall_32+0x7f/0x1e0 [ 44.545003] entry_SYSENTER_32+0x4e/0x7c [ 44.545561] EIP: 0xb7ef2d09 [ 44.545988] EFLAGS: 00000282 CPU: 0 [ 44.546480] EAX: ffffffda EBX: 00000020 ECX: 00000002 EDX: 00000000 [ 44.547294] ESI: 00000000 EDI: 00000006 EBP: 00000002 ESP: b5d401a0 [ 44.548134] DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 007b [ 44.548856] Code: 0f 84 b5 00 00 00 89 75 e4 8b 07 64 8b 50 04 64 03 05 28 91 df da 8b 08 85 c9 89 4d f0 0f 84 53 01 00 00 8b 4d f0 03 4f 14 8b 37 <8b> 01 33 87 b8 00 00 00 89 cb 89 4d e0 8d 4a 01 89 45 dc 31 c3 [ 44.551928] EIP: __kmalloc+0x85/0x220 SS:ESP: 0068:dcaf59d4 [ 44.552865] CR2: 00000000ee835a95 [ 44.553525] ---[ end trace 3c49b27dd79507a4 ]--- To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1814054/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp