All of lore.kernel.org
 help / color / mirror / Atom feed
* 4.11-rc1 acpi stomping ext4 slabs
@ 2017-03-06 20:31 Nikolay Borisov
  2017-03-06 22:35 ` Rafael J. Wysocki
  0 siblings, 1 reply; 7+ messages in thread
From: Nikolay Borisov @ 2017-03-06 20:31 UTC (permalink / raw)
  To: rjw, tytso, LKML; +Cc: lenb, linux-acpi, Ext4 Developers List

Hello, 

Booting 4.11-rc1 with kasan enabled and "slub_debug=F" produces the following errors:

[    7.070797] ==================================================================
[    7.071724] BUG: KASAN: slab-out-of-bounds in filldir+0xc3/0x160 at addr ffff88006bc2b0ae
[    7.071724] Read of size 20 by task systemd/1
[    7.071724] CPU: 1 PID: 1 Comm: systemd Not tainted 4.11.0-rc1-nbor #150
[    7.071724] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Ubuntu-1.8.2-1ubuntu1 04/01/2014
[    7.071724] Call Trace:
[    7.071724]  dump_stack+0x85/0xc9
[    7.071724]  kasan_object_err+0x2c/0x90
[    7.071724]  kasan_report+0x285/0x510
[    7.071724]  check_memory_region+0x137/0x160
[    7.071724]  kasan_check_read+0x11/0x20
[    7.071724]  filldir+0xc3/0x160
[    7.071724]  call_filldir+0x88/0x140
[    7.071724]  ext4_readdir+0x757/0x920
[    7.071724]  ? iterate_dir+0x49/0x190
[    7.071724]  iterate_dir+0x7d/0x190
[    7.071724]  ? entry_SYSCALL_64_fastpath+0x5/0xc6
[    7.071724]  SyS_getdents+0xac/0x170
[    7.071724]  ? filldir64+0x170/0x170
[    7.071724]  entry_SYSCALL_64_fastpath+0x23/0xc6
[    7.071724] RIP: 0033:0x7fa37ca2dd3b
[    7.071724] RSP: 002b:00007ffc63daf400 EFLAGS: 00000206 ORIG_RAX: 000000000000004e
[    7.071724] RAX: ffffffffffffffda RBX: 0000000000000046 RCX: 00007fa37ca2dd3b
[    7.071724] RDX: 0000000000008000 RSI: 0000560b369e4a10 RDI: 0000000000000004
[    7.071724] RBP: 00007fa37cd29b20 R08: 00007fa37cd29bd8 R09: 0000000000000000
[    7.071724] R10: 000000000000008f R11: 0000000000000206 R12: 0000000000008041
[    7.071724] R13: 00007fa37cd29b78 R14: 000000000000270f R15: 00007fa37cd29b78
[    7.071724] Object at ffff88006bc2b080, in cache kmalloc-96 size: 96
[    7.071724] Allocated:
[    7.071724] PID = 1
[    7.071724]  save_stack_trace+0x1b/0x20
[    7.071724]  kasan_kmalloc.part.4+0x64/0xf0
[    7.071724]  kasan_kmalloc+0x85/0xb0
[    7.071724]  __kmalloc+0x12b/0x320
[    7.071724]  ext4_htree_store_dirent+0x3e/0x120
[    7.071724]  htree_dirblock_to_tree+0xb9/0x1a0
[    7.071724]  ext4_htree_fill_tree+0xa3/0x310
[    7.071724]  ext4_readdir+0x6a9/0x920
[    7.071724]  iterate_dir+0x7d/0x190
[    7.071724]  SyS_getdents+0xac/0x170
[    7.071724]  entry_SYSCALL_64_fastpath+0x23/0xc6
[    7.071724] Freed:
[    7.071724] PID = 1
[    7.071724]  save_stack_trace+0x1b/0x20
[    7.071724]  kasan_slab_free+0xbe/0x190
[    7.071724]  kfree+0xff/0x2f0
[    7.071724]  acpi_ut_evaluate_object+0x18e/0x19d
[    7.071724]  acpi_ut_execute_STA+0x26/0x53
[    7.071724]  acpi_ns_get_device_callback+0x73/0x163
[    7.071724]  acpi_ns_walk_namespace+0xc0/0x17a
[    7.071724]  acpi_get_devices+0x66/0x7d
[    7.071724]  pnpacpi_init+0x52/0x74
[    7.071724]  do_one_initcall+0x51/0x1b0
[    7.071724]  kernel_init_freeable+0x20a/0x2a1
[    7.071724]  kernel_init+0xe/0x100
[    7.071724]  ret_from_fork+0x31/0x40
[    7.071724] Memory state around the buggy address:
[    7.071724]  ffff88006bc2af80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[    7.071724]  ffff88006bc2b000: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc
[    7.071724] >ffff88006bc2b080: 00 00 00 00 00 00 00 00 05 fc fc fc fc fc fc fc
[    7.071724]                                            ^
[    7.071724]  ffff88006bc2b100: 00 00 00 00 00 00 00 00 00 04 fc fc fc fc fc fc
[    7.071724]  ffff88006bc2b180: 00 00 00 00 00 00 00 00 00 00 fc fc fc fc fc fc

Not killing the VM instantly produces a continuous stream of kasan errors. Most of them 
are identical to the one above, however there was one which was different: 

[    5.846193] ==================================================================
[    5.846787] BUG: KASAN: slab-out-of-bounds in filldir+0xc3/0x160 at addr ffff88006c783eae
[    5.847177] Read of size 22 by task systemd/1
[    5.847177] CPU: 3 PID: 1 Comm: systemd Tainted: G    B           4.11.0-rc1-nbor #150
[    5.847177] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Ubuntu-1.8.2-1ubuntu1 04/01/2014
[    5.847177] Call Trace:
[    5.847177]  dump_stack+0x85/0xc9
[    5.847177]  kasan_object_err+0x2c/0x90
[    5.847177]  kasan_report+0x285/0x510
[    5.847177]  check_memory_region+0x137/0x160
[    5.847177]  kasan_check_read+0x11/0x20
[    5.847177]  filldir+0xc3/0x160
[    5.847177]  call_filldir+0x88/0x140
[    5.847177]  ext4_readdir+0x757/0x920
[    5.847177]  ? iterate_dir+0x49/0x190
[    5.847177]  iterate_dir+0x7d/0x190
[    5.847177]  ? entry_SYSCALL_64_fastpath+0x5/0xc6
[    5.847177]  SyS_getdents+0xac/0x170
[    5.847177]  ? filldir64+0x170/0x170
[    5.847177]  entry_SYSCALL_64_fastpath+0x23/0xc6
[    5.847177] RIP: 0033:0x7f9dbd4e1d3b
[    5.847177] RSP: 002b:00007ffee6b51a60 EFLAGS: 00000206 ORIG_RAX: 000000000000004e
[    5.847177] RAX: ffffffffffffffda RBX: 0000000000000046 RCX: 00007f9dbd4e1d3b
[    5.847177] RDX: 0000000000008000 RSI: 000055c046802a10 RDI: 0000000000000004
[    5.847177] RBP: 00007f9dbd7ddb20 R08: 00007f9dbd7ddbd8 R09: 0000000000000000
[    5.847177] R10: 000000000000008f R11: 0000000000000206 R12: 0000000000008041
[    5.847177] R13: 00007f9dbd7ddb78 R14: 000000000000270f R15: 00007f9dbd7ddb78
[    5.847177] Object at ffff88006c783e80, in cache kmalloc-96 size: 96
[    5.847177] Allocated:
[    5.847177] PID = 1
[    5.847177]  save_stack_trace+0x1b/0x20
[    5.847177]  kasan_kmalloc.part.4+0x64/0xf0
[    5.847177]  kasan_kmalloc+0x85/0xb0
[    5.847177]  __kmalloc+0x12b/0x320
[    5.847177]  ext4_htree_store_dirent+0x3e/0x120
[    5.847177]  htree_dirblock_to_tree+0xb9/0x1a0
[    5.847177]  ext4_htree_fill_tree+0xa3/0x310
[    5.847177]  ext4_readdir+0x6a9/0x920
[    5.847177]  iterate_dir+0x7d/0x190
[    5.847177]  SyS_getdents+0xac/0x170
[    5.847177]  entry_SYSCALL_64_fastpath+0x23/0xc6
[    5.847177] Freed:
[    5.847177] PID = 1
[    5.847177]  save_stack_trace+0x1b/0x20
[    5.847177]  kasan_slab_free+0xbe/0x190
[    5.847177]  kfree+0xff/0x2f0
[    5.847177]  krealloc+0xac/0xc0
[    5.847177]  create_trace_option_files+0x127/0x270
[    5.847177]  __update_tracer_options+0x2c/0x40
[    5.847177]  tracer_init_tracefs+0x1a4/0x1b7
[    5.847177]  do_one_initcall+0x51/0x1b0
[    5.847177]  kernel_init_freeable+0x20a/0x2a1
[    5.847177]  kernel_init+0xe/0x100
[    5.847177]  ret_from_fork+0x31/0x40
[    5.847177] Memory state around the buggy address:

So the free path is different. 

On a different boot with slab_debug options omitted e.g. no debugging enabled for SLUB
I got:

[    5.586620] ==================================================================
[    5.587445] BUG: KASAN: slab-out-of-bounds in filldir+0xc3/0x160 at addr ffff880000141aae
[    5.587584] Read of size 20 by task systemd/1
[    5.587584] CPU: 0 PID: 1 Comm: systemd Not tainted 4.11.0-rc1-nbor #148
[    5.587584] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Ubuntu-1.8.2-1ubuntu1 04/01/2014
[    5.587584] Call Trace:
[    5.587584]  dump_stack+0x85/0xc9
[    5.587584]  kasan_object_err+0x2c/0x90
[    5.587584]  kasan_report+0x285/0x510
[    5.587584]  check_memory_region+0x137/0x160
[    5.587584]  kasan_check_read+0x11/0x20
[    5.587584]  filldir+0xc3/0x160
[    5.587584]  call_filldir+0x88/0x140
[    5.587584]  ext4_readdir+0x757/0x920
[    5.587584]  ? iterate_dir+0x49/0x190
[    5.587584]  iterate_dir+0x7d/0x190
[    5.587584]  ? entry_SYSCALL_64_fastpath+0x5/0xc6
[    5.587584]  SyS_getdents+0xac/0x170
[    5.587584]  ? filldir64+0x170/0x170
[    5.587584]  entry_SYSCALL_64_fastpath+0x23/0xc6
[    5.587584] RIP: 0033:0x7f71af785d3b
[    5.587584] RSP: 002b:00007ffeeda83390 EFLAGS: 00000206 ORIG_RAX: 000000000000004e
[    5.587584] RAX: ffffffffffffffda RBX: 0000000000000046 RCX: 00007f71af785d3b
[    5.587584] RDX: 0000000000008000 RSI: 0000561e6483ba10 RDI: 0000000000000004
[    5.587584] RBP: 00007f71afa81b20 R08: 00007f71afa81bd8 R09: 0000000000000000
[    5.587584] R10: 000000000000008f R11: 0000000000000206 R12: 0000000000008041
[    5.587584] R13: 00007f71afa81b78 R14: 000000000000270f R15: 00007f71afa81b78
[    5.587584] Object at ffff880000141a80, in cache kmalloc-96 size: 96
[    5.587584] Allocated:
[    5.587584] PID = 1
[    5.587584]  save_stack_trace+0x1b/0x20
[    5.587584]  kasan_kmalloc.part.4+0x64/0xf0
[    5.587584]  kasan_kmalloc+0x85/0xb0
[    5.587584]  __kmalloc+0x12b/0x320
[    5.587584]  ext4_htree_store_dirent+0x3e/0x120
[    5.587584]  htree_dirblock_to_tree+0xb9/0x1a0
[    5.587584]  ext4_htree_fill_tree+0xa3/0x310
[    5.587584]  ext4_readdir+0x6a9/0x920
[    5.587584]  iterate_dir+0x7d/0x190
[    5.587584]  SyS_getdents+0xac/0x170
[    5.587584]  entry_SYSCALL_64_fastpath+0x23/0xc6
[    5.587584] Freed:
[    5.587584] PID = 1
[    5.587584]  save_stack_trace+0x1b/0x20
[    5.587584]  kasan_slab_free+0xbe/0x190
[    5.587584]  kfree+0xff/0x2f0
[    5.587584]  acpi_evaluate_object+0x26c/0x27e
[    5.587584]  acpi_evaluate_integer+0x34/0x53
[    5.587584]  acpi_get_node+0x2b/0x51
[    5.587584]  pci_acpi_scan_root+0x2e/0x1d0
[    5.587584]  acpi_pci_root_add+0x264/0x34b
[    5.587584]  acpi_bus_attach+0xb6/0x15c
[    5.587584]  acpi_bus_attach+0x123/0x15c
[    5.587584]  acpi_bus_attach+0x123/0x15c
[    5.587584]  acpi_bus_scan+0x5b/0x6b
[    5.587584]  acpi_scan_init+0xcd/0x211
[    5.587584]  acpi_init+0x2e0/0x309
[    5.587584]  do_one_initcall+0x51/0x1b0
[    5.587584]  kernel_init_freeable+0x20a/0x2a1
[    5.587584]  kernel_init+0xe/0x100
[    5.587584]  ret_from_fork+0x31/0x40
[    5.587584] Memory state around the buggy address:
[    5.587584]  ffff880000141980: 00 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc
[    5.587584]  ffff880000141a00: 00 00 00 00 00 00 00 00 00 03 fc fc fc fc fc fc
[    5.587584] >ffff880000141a80: 00 00 00 00 00 00 00 00 05 fc fc fc fc fc fc fc
[    5.587584]                                            ^
[    5.587584]  ffff880000141b00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc
[    5.587584]  ffff880000141b80: 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc fc

I'm not sure if this is an ext4 or ACPI problem. 



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

* Re: 4.11-rc1 acpi stomping ext4 slabs
  2017-03-06 20:31 4.11-rc1 acpi stomping ext4 slabs Nikolay Borisov
@ 2017-03-06 22:35 ` Rafael J. Wysocki
  2017-03-07  9:38   ` Nikolay Borisov
  0 siblings, 1 reply; 7+ messages in thread
From: Rafael J. Wysocki @ 2017-03-06 22:35 UTC (permalink / raw)
  To: Nikolay Borisov
  Cc: Rafael J. Wysocki, Ted Ts'o, LKML, Len Brown,
	ACPI Devel Maling List, Ext4 Developers List

On Mon, Mar 6, 2017 at 9:31 PM, Nikolay Borisov
<n.borisov.lkml@gmail.com> wrote:
> Hello,
>
> Booting 4.11-rc1 with kasan enabled and "slub_debug=F" produces the following errors:
>
> [    7.070797] ==================================================================
> [    7.071724] BUG: KASAN: slab-out-of-bounds in filldir+0xc3/0x160 at addr ffff88006bc2b0ae
> [    7.071724] Read of size 20 by task systemd/1
> [    7.071724] CPU: 1 PID: 1 Comm: systemd Not tainted 4.11.0-rc1-nbor #150
> [    7.071724] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Ubuntu-1.8.2-1ubuntu1 04/01/2014
> [    7.071724] Call Trace:
> [    7.071724]  dump_stack+0x85/0xc9
> [    7.071724]  kasan_object_err+0x2c/0x90
> [    7.071724]  kasan_report+0x285/0x510
> [    7.071724]  check_memory_region+0x137/0x160
> [    7.071724]  kasan_check_read+0x11/0x20
> [    7.071724]  filldir+0xc3/0x160
> [    7.071724]  call_filldir+0x88/0x140
> [    7.071724]  ext4_readdir+0x757/0x920
> [    7.071724]  ? iterate_dir+0x49/0x190
> [    7.071724]  iterate_dir+0x7d/0x190
> [    7.071724]  ? entry_SYSCALL_64_fastpath+0x5/0xc6
> [    7.071724]  SyS_getdents+0xac/0x170
> [    7.071724]  ? filldir64+0x170/0x170
> [    7.071724]  entry_SYSCALL_64_fastpath+0x23/0xc6
> [    7.071724] RIP: 0033:0x7fa37ca2dd3b
> [    7.071724] RSP: 002b:00007ffc63daf400 EFLAGS: 00000206 ORIG_RAX: 000000000000004e
> [    7.071724] RAX: ffffffffffffffda RBX: 0000000000000046 RCX: 00007fa37ca2dd3b
> [    7.071724] RDX: 0000000000008000 RSI: 0000560b369e4a10 RDI: 0000000000000004
> [    7.071724] RBP: 00007fa37cd29b20 R08: 00007fa37cd29bd8 R09: 0000000000000000
> [    7.071724] R10: 000000000000008f R11: 0000000000000206 R12: 0000000000008041
> [    7.071724] R13: 00007fa37cd29b78 R14: 000000000000270f R15: 00007fa37cd29b78
> [    7.071724] Object at ffff88006bc2b080, in cache kmalloc-96 size: 96
> [    7.071724] Allocated:
> [    7.071724] PID = 1
> [    7.071724]  save_stack_trace+0x1b/0x20
> [    7.071724]  kasan_kmalloc.part.4+0x64/0xf0
> [    7.071724]  kasan_kmalloc+0x85/0xb0
> [    7.071724]  __kmalloc+0x12b/0x320
> [    7.071724]  ext4_htree_store_dirent+0x3e/0x120
> [    7.071724]  htree_dirblock_to_tree+0xb9/0x1a0
> [    7.071724]  ext4_htree_fill_tree+0xa3/0x310
> [    7.071724]  ext4_readdir+0x6a9/0x920
> [    7.071724]  iterate_dir+0x7d/0x190
> [    7.071724]  SyS_getdents+0xac/0x170
> [    7.071724]  entry_SYSCALL_64_fastpath+0x23/0xc6
> [    7.071724] Freed:
> [    7.071724] PID = 1
> [    7.071724]  save_stack_trace+0x1b/0x20
> [    7.071724]  kasan_slab_free+0xbe/0x190
> [    7.071724]  kfree+0xff/0x2f0
> [    7.071724]  acpi_ut_evaluate_object+0x18e/0x19d
> [    7.071724]  acpi_ut_execute_STA+0x26/0x53
> [    7.071724]  acpi_ns_get_device_callback+0x73/0x163
> [    7.071724]  acpi_ns_walk_namespace+0xc0/0x17a
> [    7.071724]  acpi_get_devices+0x66/0x7d
> [    7.071724]  pnpacpi_init+0x52/0x74
> [    7.071724]  do_one_initcall+0x51/0x1b0
> [    7.071724]  kernel_init_freeable+0x20a/0x2a1
> [    7.071724]  kernel_init+0xe/0x100
> [    7.071724]  ret_from_fork+0x31/0x40
> [    7.071724] Memory state around the buggy address:
> [    7.071724]  ffff88006bc2af80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
> [    7.071724]  ffff88006bc2b000: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc
> [    7.071724] >ffff88006bc2b080: 00 00 00 00 00 00 00 00 05 fc fc fc fc fc fc fc
> [    7.071724]                                            ^
> [    7.071724]  ffff88006bc2b100: 00 00 00 00 00 00 00 00 00 04 fc fc fc fc fc fc
> [    7.071724]  ffff88006bc2b180: 00 00 00 00 00 00 00 00 00 00 fc fc fc fc fc fc
>
> Not killing the VM instantly produces a continuous stream of kasan errors. Most of them
> are identical to the one above, however there was one which was different:
>
> [    5.846193] ==================================================================
> [    5.846787] BUG: KASAN: slab-out-of-bounds in filldir+0xc3/0x160 at addr ffff88006c783eae
> [    5.847177] Read of size 22 by task systemd/1
> [    5.847177] CPU: 3 PID: 1 Comm: systemd Tainted: G    B           4.11.0-rc1-nbor #150
> [    5.847177] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Ubuntu-1.8.2-1ubuntu1 04/01/2014
> [    5.847177] Call Trace:
> [    5.847177]  dump_stack+0x85/0xc9
> [    5.847177]  kasan_object_err+0x2c/0x90
> [    5.847177]  kasan_report+0x285/0x510
> [    5.847177]  check_memory_region+0x137/0x160
> [    5.847177]  kasan_check_read+0x11/0x20
> [    5.847177]  filldir+0xc3/0x160
> [    5.847177]  call_filldir+0x88/0x140
> [    5.847177]  ext4_readdir+0x757/0x920
> [    5.847177]  ? iterate_dir+0x49/0x190
> [    5.847177]  iterate_dir+0x7d/0x190
> [    5.847177]  ? entry_SYSCALL_64_fastpath+0x5/0xc6
> [    5.847177]  SyS_getdents+0xac/0x170
> [    5.847177]  ? filldir64+0x170/0x170
> [    5.847177]  entry_SYSCALL_64_fastpath+0x23/0xc6
> [    5.847177] RIP: 0033:0x7f9dbd4e1d3b
> [    5.847177] RSP: 002b:00007ffee6b51a60 EFLAGS: 00000206 ORIG_RAX: 000000000000004e
> [    5.847177] RAX: ffffffffffffffda RBX: 0000000000000046 RCX: 00007f9dbd4e1d3b
> [    5.847177] RDX: 0000000000008000 RSI: 000055c046802a10 RDI: 0000000000000004
> [    5.847177] RBP: 00007f9dbd7ddb20 R08: 00007f9dbd7ddbd8 R09: 0000000000000000
> [    5.847177] R10: 000000000000008f R11: 0000000000000206 R12: 0000000000008041
> [    5.847177] R13: 00007f9dbd7ddb78 R14: 000000000000270f R15: 00007f9dbd7ddb78
> [    5.847177] Object at ffff88006c783e80, in cache kmalloc-96 size: 96
> [    5.847177] Allocated:
> [    5.847177] PID = 1
> [    5.847177]  save_stack_trace+0x1b/0x20
> [    5.847177]  kasan_kmalloc.part.4+0x64/0xf0
> [    5.847177]  kasan_kmalloc+0x85/0xb0
> [    5.847177]  __kmalloc+0x12b/0x320
> [    5.847177]  ext4_htree_store_dirent+0x3e/0x120
> [    5.847177]  htree_dirblock_to_tree+0xb9/0x1a0
> [    5.847177]  ext4_htree_fill_tree+0xa3/0x310
> [    5.847177]  ext4_readdir+0x6a9/0x920
> [    5.847177]  iterate_dir+0x7d/0x190
> [    5.847177]  SyS_getdents+0xac/0x170
> [    5.847177]  entry_SYSCALL_64_fastpath+0x23/0xc6
> [    5.847177] Freed:
> [    5.847177] PID = 1
> [    5.847177]  save_stack_trace+0x1b/0x20
> [    5.847177]  kasan_slab_free+0xbe/0x190
> [    5.847177]  kfree+0xff/0x2f0
> [    5.847177]  krealloc+0xac/0xc0
> [    5.847177]  create_trace_option_files+0x127/0x270
> [    5.847177]  __update_tracer_options+0x2c/0x40
> [    5.847177]  tracer_init_tracefs+0x1a4/0x1b7
> [    5.847177]  do_one_initcall+0x51/0x1b0
> [    5.847177]  kernel_init_freeable+0x20a/0x2a1
> [    5.847177]  kernel_init+0xe/0x100
> [    5.847177]  ret_from_fork+0x31/0x40
> [    5.847177] Memory state around the buggy address:
>
> So the free path is different.
>
> On a different boot with slab_debug options omitted e.g. no debugging enabled for SLUB
> I got:
>
> [    5.586620] ==================================================================
> [    5.587445] BUG: KASAN: slab-out-of-bounds in filldir+0xc3/0x160 at addr ffff880000141aae
> [    5.587584] Read of size 20 by task systemd/1
> [    5.587584] CPU: 0 PID: 1 Comm: systemd Not tainted 4.11.0-rc1-nbor #148
> [    5.587584] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Ubuntu-1.8.2-1ubuntu1 04/01/2014
> [    5.587584] Call Trace:
> [    5.587584]  dump_stack+0x85/0xc9
> [    5.587584]  kasan_object_err+0x2c/0x90
> [    5.587584]  kasan_report+0x285/0x510
> [    5.587584]  check_memory_region+0x137/0x160
> [    5.587584]  kasan_check_read+0x11/0x20
> [    5.587584]  filldir+0xc3/0x160
> [    5.587584]  call_filldir+0x88/0x140
> [    5.587584]  ext4_readdir+0x757/0x920
> [    5.587584]  ? iterate_dir+0x49/0x190
> [    5.587584]  iterate_dir+0x7d/0x190
> [    5.587584]  ? entry_SYSCALL_64_fastpath+0x5/0xc6
> [    5.587584]  SyS_getdents+0xac/0x170
> [    5.587584]  ? filldir64+0x170/0x170
> [    5.587584]  entry_SYSCALL_64_fastpath+0x23/0xc6
> [    5.587584] RIP: 0033:0x7f71af785d3b
> [    5.587584] RSP: 002b:00007ffeeda83390 EFLAGS: 00000206 ORIG_RAX: 000000000000004e
> [    5.587584] RAX: ffffffffffffffda RBX: 0000000000000046 RCX: 00007f71af785d3b
> [    5.587584] RDX: 0000000000008000 RSI: 0000561e6483ba10 RDI: 0000000000000004
> [    5.587584] RBP: 00007f71afa81b20 R08: 00007f71afa81bd8 R09: 0000000000000000
> [    5.587584] R10: 000000000000008f R11: 0000000000000206 R12: 0000000000008041
> [    5.587584] R13: 00007f71afa81b78 R14: 000000000000270f R15: 00007f71afa81b78
> [    5.587584] Object at ffff880000141a80, in cache kmalloc-96 size: 96
> [    5.587584] Allocated:
> [    5.587584] PID = 1
> [    5.587584]  save_stack_trace+0x1b/0x20
> [    5.587584]  kasan_kmalloc.part.4+0x64/0xf0
> [    5.587584]  kasan_kmalloc+0x85/0xb0
> [    5.587584]  __kmalloc+0x12b/0x320
> [    5.587584]  ext4_htree_store_dirent+0x3e/0x120
> [    5.587584]  htree_dirblock_to_tree+0xb9/0x1a0
> [    5.587584]  ext4_htree_fill_tree+0xa3/0x310
> [    5.587584]  ext4_readdir+0x6a9/0x920
> [    5.587584]  iterate_dir+0x7d/0x190
> [    5.587584]  SyS_getdents+0xac/0x170
> [    5.587584]  entry_SYSCALL_64_fastpath+0x23/0xc6
> [    5.587584] Freed:
> [    5.587584] PID = 1
> [    5.587584]  save_stack_trace+0x1b/0x20
> [    5.587584]  kasan_slab_free+0xbe/0x190
> [    5.587584]  kfree+0xff/0x2f0
> [    5.587584]  acpi_evaluate_object+0x26c/0x27e
> [    5.587584]  acpi_evaluate_integer+0x34/0x53
> [    5.587584]  acpi_get_node+0x2b/0x51
> [    5.587584]  pci_acpi_scan_root+0x2e/0x1d0
> [    5.587584]  acpi_pci_root_add+0x264/0x34b
> [    5.587584]  acpi_bus_attach+0xb6/0x15c
> [    5.587584]  acpi_bus_attach+0x123/0x15c
> [    5.587584]  acpi_bus_attach+0x123/0x15c
> [    5.587584]  acpi_bus_scan+0x5b/0x6b
> [    5.587584]  acpi_scan_init+0xcd/0x211
> [    5.587584]  acpi_init+0x2e0/0x309
> [    5.587584]  do_one_initcall+0x51/0x1b0
> [    5.587584]  kernel_init_freeable+0x20a/0x2a1
> [    5.587584]  kernel_init+0xe/0x100
> [    5.587584]  ret_from_fork+0x31/0x40
> [    5.587584] Memory state around the buggy address:
> [    5.587584]  ffff880000141980: 00 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc
> [    5.587584]  ffff880000141a00: 00 00 00 00 00 00 00 00 00 03 fc fc fc fc fc fc
> [    5.587584] >ffff880000141a80: 00 00 00 00 00 00 00 00 05 fc fc fc fc fc fc fc
> [    5.587584]                                            ^
> [    5.587584]  ffff880000141b00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc
> [    5.587584]  ffff880000141b80: 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc fc
>
> I'm not sure if this is an ext4 or ACPI problem.

If this is a new bug, you can look for the first bad commit using git-bisect.

I don't recall changing the ACPI code involved in 4.11-rc1, though.

Thanks,
Rafael

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

* Re: 4.11-rc1 acpi stomping ext4 slabs
  2017-03-06 22:35 ` Rafael J. Wysocki
@ 2017-03-07  9:38   ` Nikolay Borisov
  2017-03-07 14:33     ` Race condition in ext4 (was Re: 4.11-rc1 acpi stomping ext4 slabs) Nikolay Borisov
  0 siblings, 1 reply; 7+ messages in thread
From: Nikolay Borisov @ 2017-03-07  9:38 UTC (permalink / raw)
  To: Rafael J. Wysocki
  Cc: Ted Ts'o, LKML, ACPI Devel Maling List, Ext4 Developers List,
	Jan Kara



On  7.03.2017 00:35, Rafael J. Wysocki wrote:
> On Mon, Mar 6, 2017 at 9:31 PM, Nikolay Borisov
> <n.borisov.lkml@gmail.com> wrote:
>> Hello,
>>
>> Booting 4.11-rc1 with kasan enabled and "slub_debug=F" produces the following errors:
>>
>> [    7.070797] ==================================================================
>> [    7.071724] BUG: KASAN: slab-out-of-bounds in filldir+0xc3/0x160 at addr ffff88006bc2b0ae
>> [    7.071724] Read of size 20 by task systemd/1
>> [    7.071724] CPU: 1 PID: 1 Comm: systemd Not tainted 4.11.0-rc1-nbor #150
>> [    7.071724] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Ubuntu-1.8.2-1ubuntu1 04/01/2014
>> [    7.071724] Call Trace:
>> [    7.071724]  dump_stack+0x85/0xc9
>> [    7.071724]  kasan_object_err+0x2c/0x90
>> [    7.071724]  kasan_report+0x285/0x510
>> [    7.071724]  check_memory_region+0x137/0x160
>> [    7.071724]  kasan_check_read+0x11/0x20
>> [    7.071724]  filldir+0xc3/0x160
>> [    7.071724]  call_filldir+0x88/0x140
>> [    7.071724]  ext4_readdir+0x757/0x920
>> [    7.071724]  ? iterate_dir+0x49/0x190
>> [    7.071724]  iterate_dir+0x7d/0x190
>> [    7.071724]  ? entry_SYSCALL_64_fastpath+0x5/0xc6
>> [    7.071724]  SyS_getdents+0xac/0x170
>> [    7.071724]  ? filldir64+0x170/0x170
>> [    7.071724]  entry_SYSCALL_64_fastpath+0x23/0xc6
>> [    7.071724] RIP: 0033:0x7fa37ca2dd3b
>> [    7.071724] RSP: 002b:00007ffc63daf400 EFLAGS: 00000206 ORIG_RAX: 000000000000004e
>> [    7.071724] RAX: ffffffffffffffda RBX: 0000000000000046 RCX: 00007fa37ca2dd3b
>> [    7.071724] RDX: 0000000000008000 RSI: 0000560b369e4a10 RDI: 0000000000000004
>> [    7.071724] RBP: 00007fa37cd29b20 R08: 00007fa37cd29bd8 R09: 0000000000000000
>> [    7.071724] R10: 000000000000008f R11: 0000000000000206 R12: 0000000000008041
>> [    7.071724] R13: 00007fa37cd29b78 R14: 000000000000270f R15: 00007fa37cd29b78
>> [    7.071724] Object at ffff88006bc2b080, in cache kmalloc-96 size: 96
>> [    7.071724] Allocated:
>> [    7.071724] PID = 1
>> [    7.071724]  save_stack_trace+0x1b/0x20
>> [    7.071724]  kasan_kmalloc.part.4+0x64/0xf0
>> [    7.071724]  kasan_kmalloc+0x85/0xb0
>> [    7.071724]  __kmalloc+0x12b/0x320
>> [    7.071724]  ext4_htree_store_dirent+0x3e/0x120
>> [    7.071724]  htree_dirblock_to_tree+0xb9/0x1a0
>> [    7.071724]  ext4_htree_fill_tree+0xa3/0x310
>> [    7.071724]  ext4_readdir+0x6a9/0x920
>> [    7.071724]  iterate_dir+0x7d/0x190
>> [    7.071724]  SyS_getdents+0xac/0x170
>> [    7.071724]  entry_SYSCALL_64_fastpath+0x23/0xc6
>> [    7.071724] Freed:
>> [    7.071724] PID = 1
>> [    7.071724]  save_stack_trace+0x1b/0x20
>> [    7.071724]  kasan_slab_free+0xbe/0x190
>> [    7.071724]  kfree+0xff/0x2f0
>> [    7.071724]  acpi_ut_evaluate_object+0x18e/0x19d
>> [    7.071724]  acpi_ut_execute_STA+0x26/0x53
>> [    7.071724]  acpi_ns_get_device_callback+0x73/0x163
>> [    7.071724]  acpi_ns_walk_namespace+0xc0/0x17a
>> [    7.071724]  acpi_get_devices+0x66/0x7d
>> [    7.071724]  pnpacpi_init+0x52/0x74
>> [    7.071724]  do_one_initcall+0x51/0x1b0
>> [    7.071724]  kernel_init_freeable+0x20a/0x2a1
>> [    7.071724]  kernel_init+0xe/0x100
>> [    7.071724]  ret_from_fork+0x31/0x40
>> [    7.071724] Memory state around the buggy address:
>> [    7.071724]  ffff88006bc2af80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
>> [    7.071724]  ffff88006bc2b000: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc
>> [    7.071724] >ffff88006bc2b080: 00 00 00 00 00 00 00 00 05 fc fc fc fc fc fc fc
>> [    7.071724]                                            ^
>> [    7.071724]  ffff88006bc2b100: 00 00 00 00 00 00 00 00 00 04 fc fc fc fc fc fc
>> [    7.071724]  ffff88006bc2b180: 00 00 00 00 00 00 00 00 00 00 fc fc fc fc fc fc
>>
>> Not killing the VM instantly produces a continuous stream of kasan errors. Most of them
>> are identical to the one above, however there was one which was different:
>>
>> [    5.846193] ==================================================================
>> [    5.846787] BUG: KASAN: slab-out-of-bounds in filldir+0xc3/0x160 at addr ffff88006c783eae
>> [    5.847177] Read of size 22 by task systemd/1
>> [    5.847177] CPU: 3 PID: 1 Comm: systemd Tainted: G    B           4.11.0-rc1-nbor #150
>> [    5.847177] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Ubuntu-1.8.2-1ubuntu1 04/01/2014
>> [    5.847177] Call Trace:
>> [    5.847177]  dump_stack+0x85/0xc9
>> [    5.847177]  kasan_object_err+0x2c/0x90
>> [    5.847177]  kasan_report+0x285/0x510
>> [    5.847177]  check_memory_region+0x137/0x160
>> [    5.847177]  kasan_check_read+0x11/0x20
>> [    5.847177]  filldir+0xc3/0x160
>> [    5.847177]  call_filldir+0x88/0x140
>> [    5.847177]  ext4_readdir+0x757/0x920
>> [    5.847177]  ? iterate_dir+0x49/0x190
>> [    5.847177]  iterate_dir+0x7d/0x190
>> [    5.847177]  ? entry_SYSCALL_64_fastpath+0x5/0xc6
>> [    5.847177]  SyS_getdents+0xac/0x170
>> [    5.847177]  ? filldir64+0x170/0x170
>> [    5.847177]  entry_SYSCALL_64_fastpath+0x23/0xc6
>> [    5.847177] RIP: 0033:0x7f9dbd4e1d3b
>> [    5.847177] RSP: 002b:00007ffee6b51a60 EFLAGS: 00000206 ORIG_RAX: 000000000000004e
>> [    5.847177] RAX: ffffffffffffffda RBX: 0000000000000046 RCX: 00007f9dbd4e1d3b
>> [    5.847177] RDX: 0000000000008000 RSI: 000055c046802a10 RDI: 0000000000000004
>> [    5.847177] RBP: 00007f9dbd7ddb20 R08: 00007f9dbd7ddbd8 R09: 0000000000000000
>> [    5.847177] R10: 000000000000008f R11: 0000000000000206 R12: 0000000000008041
>> [    5.847177] R13: 00007f9dbd7ddb78 R14: 000000000000270f R15: 00007f9dbd7ddb78
>> [    5.847177] Object at ffff88006c783e80, in cache kmalloc-96 size: 96
>> [    5.847177] Allocated:
>> [    5.847177] PID = 1
>> [    5.847177]  save_stack_trace+0x1b/0x20
>> [    5.847177]  kasan_kmalloc.part.4+0x64/0xf0
>> [    5.847177]  kasan_kmalloc+0x85/0xb0
>> [    5.847177]  __kmalloc+0x12b/0x320
>> [    5.847177]  ext4_htree_store_dirent+0x3e/0x120
>> [    5.847177]  htree_dirblock_to_tree+0xb9/0x1a0
>> [    5.847177]  ext4_htree_fill_tree+0xa3/0x310
>> [    5.847177]  ext4_readdir+0x6a9/0x920
>> [    5.847177]  iterate_dir+0x7d/0x190
>> [    5.847177]  SyS_getdents+0xac/0x170
>> [    5.847177]  entry_SYSCALL_64_fastpath+0x23/0xc6
>> [    5.847177] Freed:
>> [    5.847177] PID = 1
>> [    5.847177]  save_stack_trace+0x1b/0x20
>> [    5.847177]  kasan_slab_free+0xbe/0x190
>> [    5.847177]  kfree+0xff/0x2f0
>> [    5.847177]  krealloc+0xac/0xc0
>> [    5.847177]  create_trace_option_files+0x127/0x270
>> [    5.847177]  __update_tracer_options+0x2c/0x40
>> [    5.847177]  tracer_init_tracefs+0x1a4/0x1b7
>> [    5.847177]  do_one_initcall+0x51/0x1b0
>> [    5.847177]  kernel_init_freeable+0x20a/0x2a1
>> [    5.847177]  kernel_init+0xe/0x100
>> [    5.847177]  ret_from_fork+0x31/0x40
>> [    5.847177] Memory state around the buggy address:
>>
>> So the free path is different.
>>
>> On a different boot with slab_debug options omitted e.g. no debugging enabled for SLUB
>> I got:
>>
>> [    5.586620] ==================================================================
>> [    5.587445] BUG: KASAN: slab-out-of-bounds in filldir+0xc3/0x160 at addr ffff880000141aae
>> [    5.587584] Read of size 20 by task systemd/1
>> [    5.587584] CPU: 0 PID: 1 Comm: systemd Not tainted 4.11.0-rc1-nbor #148
>> [    5.587584] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Ubuntu-1.8.2-1ubuntu1 04/01/2014
>> [    5.587584] Call Trace:
>> [    5.587584]  dump_stack+0x85/0xc9
>> [    5.587584]  kasan_object_err+0x2c/0x90
>> [    5.587584]  kasan_report+0x285/0x510
>> [    5.587584]  check_memory_region+0x137/0x160
>> [    5.587584]  kasan_check_read+0x11/0x20
>> [    5.587584]  filldir+0xc3/0x160
>> [    5.587584]  call_filldir+0x88/0x140
>> [    5.587584]  ext4_readdir+0x757/0x920
>> [    5.587584]  ? iterate_dir+0x49/0x190
>> [    5.587584]  iterate_dir+0x7d/0x190
>> [    5.587584]  ? entry_SYSCALL_64_fastpath+0x5/0xc6
>> [    5.587584]  SyS_getdents+0xac/0x170
>> [    5.587584]  ? filldir64+0x170/0x170
>> [    5.587584]  entry_SYSCALL_64_fastpath+0x23/0xc6
>> [    5.587584] RIP: 0033:0x7f71af785d3b
>> [    5.587584] RSP: 002b:00007ffeeda83390 EFLAGS: 00000206 ORIG_RAX: 000000000000004e
>> [    5.587584] RAX: ffffffffffffffda RBX: 0000000000000046 RCX: 00007f71af785d3b
>> [    5.587584] RDX: 0000000000008000 RSI: 0000561e6483ba10 RDI: 0000000000000004
>> [    5.587584] RBP: 00007f71afa81b20 R08: 00007f71afa81bd8 R09: 0000000000000000
>> [    5.587584] R10: 000000000000008f R11: 0000000000000206 R12: 0000000000008041
>> [    5.587584] R13: 00007f71afa81b78 R14: 000000000000270f R15: 00007f71afa81b78
>> [    5.587584] Object at ffff880000141a80, in cache kmalloc-96 size: 96
>> [    5.587584] Allocated:
>> [    5.587584] PID = 1
>> [    5.587584]  save_stack_trace+0x1b/0x20
>> [    5.587584]  kasan_kmalloc.part.4+0x64/0xf0
>> [    5.587584]  kasan_kmalloc+0x85/0xb0
>> [    5.587584]  __kmalloc+0x12b/0x320
>> [    5.587584]  ext4_htree_store_dirent+0x3e/0x120
>> [    5.587584]  htree_dirblock_to_tree+0xb9/0x1a0
>> [    5.587584]  ext4_htree_fill_tree+0xa3/0x310
>> [    5.587584]  ext4_readdir+0x6a9/0x920
>> [    5.587584]  iterate_dir+0x7d/0x190
>> [    5.587584]  SyS_getdents+0xac/0x170
>> [    5.587584]  entry_SYSCALL_64_fastpath+0x23/0xc6
>> [    5.587584] Freed:
>> [    5.587584] PID = 1
>> [    5.587584]  save_stack_trace+0x1b/0x20
>> [    5.587584]  kasan_slab_free+0xbe/0x190
>> [    5.587584]  kfree+0xff/0x2f0
>> [    5.587584]  acpi_evaluate_object+0x26c/0x27e
>> [    5.587584]  acpi_evaluate_integer+0x34/0x53
>> [    5.587584]  acpi_get_node+0x2b/0x51
>> [    5.587584]  pci_acpi_scan_root+0x2e/0x1d0
>> [    5.587584]  acpi_pci_root_add+0x264/0x34b
>> [    5.587584]  acpi_bus_attach+0xb6/0x15c
>> [    5.587584]  acpi_bus_attach+0x123/0x15c
>> [    5.587584]  acpi_bus_attach+0x123/0x15c
>> [    5.587584]  acpi_bus_scan+0x5b/0x6b
>> [    5.587584]  acpi_scan_init+0xcd/0x211
>> [    5.587584]  acpi_init+0x2e0/0x309
>> [    5.587584]  do_one_initcall+0x51/0x1b0
>> [    5.587584]  kernel_init_freeable+0x20a/0x2a1
>> [    5.587584]  kernel_init+0xe/0x100
>> [    5.587584]  ret_from_fork+0x31/0x40
>> [    5.587584] Memory state around the buggy address:
>> [    5.587584]  ffff880000141980: 00 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc
>> [    5.587584]  ffff880000141a00: 00 00 00 00 00 00 00 00 00 03 fc fc fc fc fc fc
>> [    5.587584] >ffff880000141a80: 00 00 00 00 00 00 00 00 05 fc fc fc fc fc fc fc
>> [    5.587584]                                            ^
>> [    5.587584]  ffff880000141b00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc
>> [    5.587584]  ffff880000141b80: 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc fc
>>
>> I'm not sure if this is an ext4 or ACPI problem.
> 
> If this is a new bug, you can look for the first bad commit using git-bisect.

So apparently this is an ext4 bug, since I managed to bisected it all the way to 1771c6e1a567ea0 
("x86/kasan: instrument user memory access API"). So the first bad kernel is 4.7 and ACPI is not to blame . 

[EXT4 people might want to start looking from here]

There the splat looks like : 

[   17.003256] ==================================================================
[   17.004185] BUG: KASAN: slab-out-of-bounds in filldir+0xc8/0x170 at addr ffff88006a22560e
[   17.005177] Read of size 20 by task systemd/1
[   17.005708] =============================================================================
[   17.006688] BUG kmalloc-96 (Not tainted): kasan: bad access detected
[   17.007464] -----------------------------------------------------------------------------
[   17.007464] 
[   17.008584] Disabling lock debugging due to kernel taint
[   17.009202] INFO: Allocated in ext4_htree_store_dirent+0x3e/0x120 age=0 cpu=2 pid=1
[   17.010080] 	___slab_alloc+0x636/0x6a0
[   17.010514] 	__slab_alloc+0x4f/0x86
[   17.010927] 	__kmalloc+0x27a/0x340
[   17.011318] 	ext4_htree_store_dirent+0x3e/0x120
[   17.011796] 	htree_dirblock_to_tree+0x16a/0x190
[   17.012270] 	ext4_htree_fill_tree+0xaa/0x310
[   17.012735] 	ext4_readdir+0x698/0x950
[   17.013117] 	iterate_dir+0x7d/0x190
[   17.013485] 	SyS_getdents+0x91/0x120
[   17.013873] 	entry_SYSCALL_64_fastpath+0x23/0xc1
[   17.014360] INFO: Freed in ext4_ext_map_blocks+0x7f9/0x23e0 age=1 cpu=2 pid=1
[   17.015110] 	__slab_free+0x31b/0x440
[   17.015489] 	kfree+0x27f/0x2d0
[   17.015820] 	ext4_ext_map_blocks+0x7f9/0x23e0
[   17.016283] 	ext4_map_blocks+0x3b4/0x5b0
[   17.016699] 	ext4_getblk+0x54/0x1a0
[   17.017066] 	ext4_bread+0x13/0x90
[   17.017412] 	__ext4_read_dirblock+0x3f/0x380
[   17.017861] 	htree_dirblock_to_tree+0x48/0x190
[   17.018324] 	ext4_htree_fill_tree+0xaa/0x310
[   17.018776] 	ext4_readdir+0x698/0x950
[   17.019176] 	iterate_dir+0x7d/0x190
[   17.019551] 	SyS_getdents+0x91/0x120
[   17.019932] 	entry_SYSCALL_64_fastpath+0x23/0xc1
[   17.020431] INFO: Slab 0xffffea0001a88900 objects=20 used=17 fp=0xffff88006a224e10 flags=0x4080
[   17.021348] INFO: Object 0xffff88006a2255e0 @offset=5600 fp=0x45b282a2484c60d4
[   17.021348] 
[   17.022264] Bytes b4 ffff88006a2255d0: 02 00 00 00 01 00 00 00 c9 ac fb ff 00 00 00 00  ................
[   17.023272] Object ffff88006a2255e0: d4 60 4c 48 a2 82 b2 45 18 8a 82 6a 00 88 ff ff  .`LH...E...j....
[   17.024252] Object ffff88006a2255f0: 38 51 22 6a 00 88 ff ff 88 8b 82 6a 00 88 ff ff  8Q"j.......j....
[   17.025166] Object ffff88006a225600: 00 00 00 00 00 00 00 00 28 03 08 00 14 01 66 62  ........(.....fb
[   17.026129] Object ffff88006a225610: 64 65 76 2d 62 6c 61 63 6b 6c 69 73 74 2e 63 6f  dev-blacklist.co
[   17.027156] Object ffff88006a225620: 6e 66 00 00 00 00 00 00 00 00 00 00 00 00 00 00  nf..............
[   17.028202] Object ffff88006a225630: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[   17.029186] CPU: 2 PID: 1 Comm: systemd Tainted: G    B           4.7.0-nbor #171
[   17.029972] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Ubuntu-1.8.2-1ubuntu1 04/01/2014
[   17.030959]  0000000000000000 ffff88006cd97c58 ffffffff8146bd4c ffff8800000946c0
[   17.031776]  ffff88006a2255e0 ffff88006cd97c88 ffffffff81198d96 ffff8800000946c0
[   17.032597]  ffffea0001a88900 ffff88006a2255e0 0000000000000000 ffff88006cd97cb0
[   17.033425] Call Trace:
[   17.033700]  [<ffffffff8146bd4c>] dump_stack+0x85/0xc9
[   17.034246]  [<ffffffff81198d96>] print_trailer+0x116/0x190
[   17.034840]  [<ffffffff811992c1>] object_err+0x41/0x50
[   17.035390]  [<ffffffff811a0a42>] kasan_report+0x282/0x530
[   17.035966]  [<ffffffff8119ffa7>] check_memory_region+0x137/0x160
[   17.036594]  [<ffffffff811a0041>] kasan_check_read+0x11/0x20
[   17.037181]  [<ffffffff811ccc08>] filldir+0xc8/0x170 <---  if (copy_to_user(dirent->d_name, name, namlen))
[   17.037687]  [<ffffffff8124af38>] call_filldir+0x88/0x140
[   17.038244]  [<ffffffff8124b934>] ext4_readdir+0x714/0x950
[   17.038813]  [<ffffffff811cccf9>] ? iterate_dir+0x49/0x190
[   17.039399]  [<ffffffff811ccd2d>] iterate_dir+0x7d/0x190
[   17.039909]  [<ffffffff811ccf71>] SyS_getdents+0x91/0x120
[   17.040428]  [<ffffffff811ccb40>] ? filldir64+0x180/0x180
[   17.040977]  [<ffffffff816d7d80>] entry_SYSCALL_64_fastpath+0x23/0xc1
[   17.041652] Memory state around the buggy address:
[   17.042136]  ffff88006a225500: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[   17.042924]  ffff88006a225580: fc fc fc fc fc fc fc fc fc fc fc fc 00 00 00 00
[   17.043652] >ffff88006a225600: 00 00 00 00 05 fc fc fc fc fc fc fc fc fc fc fc
[   17.044382]                                ^
[   17.044814]  ffff88006a225680: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[   17.045559]  ffff88006a225700: fc fc fc fc fc fc fc fc fc fc fc fc fc fc 00 00
[   17.046308] ==================================================================


So the buffer containing the dentry name as received from ext4_htree_fill is actually 
freed. 

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

* Race condition in ext4 (was Re: 4.11-rc1 acpi stomping ext4 slabs)
  2017-03-07  9:38   ` Nikolay Borisov
@ 2017-03-07 14:33     ` Nikolay Borisov
  2017-03-07 20:40       ` Nikolay Borisov
  0 siblings, 1 reply; 7+ messages in thread
From: Nikolay Borisov @ 2017-03-07 14:33 UTC (permalink / raw)
  Cc: Ted Ts'o, LKML, Ext4 Developers List, Jan Kara



On  7.03.2017 11:38, Nikolay Borisov wrote:
> 
> 
> On  7.03.2017 00:35, Rafael J. Wysocki wrote:
>> On Mon, Mar 6, 2017 at 9:31 PM, Nikolay Borisov
>> <n.borisov.lkml@gmail.com> wrote:
>>> Hello,
>>>
>>> Booting 4.11-rc1 with kasan enabled and "slub_debug=F" produces the following errors:
>>>
>>> [    7.070797] ==================================================================
>>> [    7.071724] BUG: KASAN: slab-out-of-bounds in filldir+0xc3/0x160 at addr ffff88006bc2b0ae
>>> [    7.071724] Read of size 20 by task systemd/1
>>> [    7.071724] CPU: 1 PID: 1 Comm: systemd Not tainted 4.11.0-rc1-nbor #150
>>> [    7.071724] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Ubuntu-1.8.2-1ubuntu1 04/01/2014
>>> [    7.071724] Call Trace:
>>> [    7.071724]  dump_stack+0x85/0xc9
>>> [    7.071724]  kasan_object_err+0x2c/0x90
>>> [    7.071724]  kasan_report+0x285/0x510
>>> [    7.071724]  check_memory_region+0x137/0x160
>>> [    7.071724]  kasan_check_read+0x11/0x20
>>> [    7.071724]  filldir+0xc3/0x160
>>> [    7.071724]  call_filldir+0x88/0x140
>>> [    7.071724]  ext4_readdir+0x757/0x920
>>> [    7.071724]  ? iterate_dir+0x49/0x190
>>> [    7.071724]  iterate_dir+0x7d/0x190
>>> [    7.071724]  ? entry_SYSCALL_64_fastpath+0x5/0xc6
>>> [    7.071724]  SyS_getdents+0xac/0x170
>>> [    7.071724]  ? filldir64+0x170/0x170
>>> [    7.071724]  entry_SYSCALL_64_fastpath+0x23/0xc6
>>> [    7.071724] RIP: 0033:0x7fa37ca2dd3b
>>> [    7.071724] RSP: 002b:00007ffc63daf400 EFLAGS: 00000206 ORIG_RAX: 000000000000004e
>>> [    7.071724] RAX: ffffffffffffffda RBX: 0000000000000046 RCX: 00007fa37ca2dd3b
>>> [    7.071724] RDX: 0000000000008000 RSI: 0000560b369e4a10 RDI: 0000000000000004
>>> [    7.071724] RBP: 00007fa37cd29b20 R08: 00007fa37cd29bd8 R09: 0000000000000000
>>> [    7.071724] R10: 000000000000008f R11: 0000000000000206 R12: 0000000000008041
>>> [    7.071724] R13: 00007fa37cd29b78 R14: 000000000000270f R15: 00007fa37cd29b78
>>> [    7.071724] Object at ffff88006bc2b080, in cache kmalloc-96 size: 96
>>> [    7.071724] Allocated:
>>> [    7.071724] PID = 1
>>> [    7.071724]  save_stack_trace+0x1b/0x20
>>> [    7.071724]  kasan_kmalloc.part.4+0x64/0xf0
>>> [    7.071724]  kasan_kmalloc+0x85/0xb0
>>> [    7.071724]  __kmalloc+0x12b/0x320
>>> [    7.071724]  ext4_htree_store_dirent+0x3e/0x120
>>> [    7.071724]  htree_dirblock_to_tree+0xb9/0x1a0
>>> [    7.071724]  ext4_htree_fill_tree+0xa3/0x310
>>> [    7.071724]  ext4_readdir+0x6a9/0x920
>>> [    7.071724]  iterate_dir+0x7d/0x190
>>> [    7.071724]  SyS_getdents+0xac/0x170
>>> [    7.071724]  entry_SYSCALL_64_fastpath+0x23/0xc6
>>> [    7.071724] Freed:
>>> [    7.071724] PID = 1
>>> [    7.071724]  save_stack_trace+0x1b/0x20
>>> [    7.071724]  kasan_slab_free+0xbe/0x190
>>> [    7.071724]  kfree+0xff/0x2f0
>>> [    7.071724]  acpi_ut_evaluate_object+0x18e/0x19d
>>> [    7.071724]  acpi_ut_execute_STA+0x26/0x53
>>> [    7.071724]  acpi_ns_get_device_callback+0x73/0x163
>>> [    7.071724]  acpi_ns_walk_namespace+0xc0/0x17a
>>> [    7.071724]  acpi_get_devices+0x66/0x7d
>>> [    7.071724]  pnpacpi_init+0x52/0x74
>>> [    7.071724]  do_one_initcall+0x51/0x1b0
>>> [    7.071724]  kernel_init_freeable+0x20a/0x2a1
>>> [    7.071724]  kernel_init+0xe/0x100
>>> [    7.071724]  ret_from_fork+0x31/0x40
>>> [    7.071724] Memory state around the buggy address:
>>> [    7.071724]  ffff88006bc2af80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
>>> [    7.071724]  ffff88006bc2b000: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc
>>> [    7.071724] >ffff88006bc2b080: 00 00 00 00 00 00 00 00 05 fc fc fc fc fc fc fc
>>> [    7.071724]                                            ^
>>> [    7.071724]  ffff88006bc2b100: 00 00 00 00 00 00 00 00 00 04 fc fc fc fc fc fc
>>> [    7.071724]  ffff88006bc2b180: 00 00 00 00 00 00 00 00 00 00 fc fc fc fc fc fc
>>>
>>> Not killing the VM instantly produces a continuous stream of kasan errors. Most of them
>>> are identical to the one above, however there was one which was different:
>>>
>>> [    5.846193] ==================================================================
>>> [    5.846787] BUG: KASAN: slab-out-of-bounds in filldir+0xc3/0x160 at addr ffff88006c783eae
>>> [    5.847177] Read of size 22 by task systemd/1
>>> [    5.847177] CPU: 3 PID: 1 Comm: systemd Tainted: G    B           4.11.0-rc1-nbor #150
>>> [    5.847177] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Ubuntu-1.8.2-1ubuntu1 04/01/2014
>>> [    5.847177] Call Trace:
>>> [    5.847177]  dump_stack+0x85/0xc9
>>> [    5.847177]  kasan_object_err+0x2c/0x90
>>> [    5.847177]  kasan_report+0x285/0x510
>>> [    5.847177]  check_memory_region+0x137/0x160
>>> [    5.847177]  kasan_check_read+0x11/0x20
>>> [    5.847177]  filldir+0xc3/0x160
>>> [    5.847177]  call_filldir+0x88/0x140
>>> [    5.847177]  ext4_readdir+0x757/0x920
>>> [    5.847177]  ? iterate_dir+0x49/0x190
>>> [    5.847177]  iterate_dir+0x7d/0x190
>>> [    5.847177]  ? entry_SYSCALL_64_fastpath+0x5/0xc6
>>> [    5.847177]  SyS_getdents+0xac/0x170
>>> [    5.847177]  ? filldir64+0x170/0x170
>>> [    5.847177]  entry_SYSCALL_64_fastpath+0x23/0xc6
>>> [    5.847177] RIP: 0033:0x7f9dbd4e1d3b
>>> [    5.847177] RSP: 002b:00007ffee6b51a60 EFLAGS: 00000206 ORIG_RAX: 000000000000004e
>>> [    5.847177] RAX: ffffffffffffffda RBX: 0000000000000046 RCX: 00007f9dbd4e1d3b
>>> [    5.847177] RDX: 0000000000008000 RSI: 000055c046802a10 RDI: 0000000000000004
>>> [    5.847177] RBP: 00007f9dbd7ddb20 R08: 00007f9dbd7ddbd8 R09: 0000000000000000
>>> [    5.847177] R10: 000000000000008f R11: 0000000000000206 R12: 0000000000008041
>>> [    5.847177] R13: 00007f9dbd7ddb78 R14: 000000000000270f R15: 00007f9dbd7ddb78
>>> [    5.847177] Object at ffff88006c783e80, in cache kmalloc-96 size: 96
>>> [    5.847177] Allocated:
>>> [    5.847177] PID = 1
>>> [    5.847177]  save_stack_trace+0x1b/0x20
>>> [    5.847177]  kasan_kmalloc.part.4+0x64/0xf0
>>> [    5.847177]  kasan_kmalloc+0x85/0xb0
>>> [    5.847177]  __kmalloc+0x12b/0x320
>>> [    5.847177]  ext4_htree_store_dirent+0x3e/0x120
>>> [    5.847177]  htree_dirblock_to_tree+0xb9/0x1a0
>>> [    5.847177]  ext4_htree_fill_tree+0xa3/0x310
>>> [    5.847177]  ext4_readdir+0x6a9/0x920
>>> [    5.847177]  iterate_dir+0x7d/0x190
>>> [    5.847177]  SyS_getdents+0xac/0x170
>>> [    5.847177]  entry_SYSCALL_64_fastpath+0x23/0xc6
>>> [    5.847177] Freed:
>>> [    5.847177] PID = 1
>>> [    5.847177]  save_stack_trace+0x1b/0x20
>>> [    5.847177]  kasan_slab_free+0xbe/0x190
>>> [    5.847177]  kfree+0xff/0x2f0
>>> [    5.847177]  krealloc+0xac/0xc0
>>> [    5.847177]  create_trace_option_files+0x127/0x270
>>> [    5.847177]  __update_tracer_options+0x2c/0x40
>>> [    5.847177]  tracer_init_tracefs+0x1a4/0x1b7
>>> [    5.847177]  do_one_initcall+0x51/0x1b0
>>> [    5.847177]  kernel_init_freeable+0x20a/0x2a1
>>> [    5.847177]  kernel_init+0xe/0x100
>>> [    5.847177]  ret_from_fork+0x31/0x40
>>> [    5.847177] Memory state around the buggy address:
>>>
>>> So the free path is different.
>>>
>>> On a different boot with slab_debug options omitted e.g. no debugging enabled for SLUB
>>> I got:
>>>
>>> [    5.586620] ==================================================================
>>> [    5.587445] BUG: KASAN: slab-out-of-bounds in filldir+0xc3/0x160 at addr ffff880000141aae
>>> [    5.587584] Read of size 20 by task systemd/1
>>> [    5.587584] CPU: 0 PID: 1 Comm: systemd Not tainted 4.11.0-rc1-nbor #148
>>> [    5.587584] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Ubuntu-1.8.2-1ubuntu1 04/01/2014
>>> [    5.587584] Call Trace:
>>> [    5.587584]  dump_stack+0x85/0xc9
>>> [    5.587584]  kasan_object_err+0x2c/0x90
>>> [    5.587584]  kasan_report+0x285/0x510
>>> [    5.587584]  check_memory_region+0x137/0x160
>>> [    5.587584]  kasan_check_read+0x11/0x20
>>> [    5.587584]  filldir+0xc3/0x160
>>> [    5.587584]  call_filldir+0x88/0x140
>>> [    5.587584]  ext4_readdir+0x757/0x920
>>> [    5.587584]  ? iterate_dir+0x49/0x190
>>> [    5.587584]  iterate_dir+0x7d/0x190
>>> [    5.587584]  ? entry_SYSCALL_64_fastpath+0x5/0xc6
>>> [    5.587584]  SyS_getdents+0xac/0x170
>>> [    5.587584]  ? filldir64+0x170/0x170
>>> [    5.587584]  entry_SYSCALL_64_fastpath+0x23/0xc6
>>> [    5.587584] RIP: 0033:0x7f71af785d3b
>>> [    5.587584] RSP: 002b:00007ffeeda83390 EFLAGS: 00000206 ORIG_RAX: 000000000000004e
>>> [    5.587584] RAX: ffffffffffffffda RBX: 0000000000000046 RCX: 00007f71af785d3b
>>> [    5.587584] RDX: 0000000000008000 RSI: 0000561e6483ba10 RDI: 0000000000000004
>>> [    5.587584] RBP: 00007f71afa81b20 R08: 00007f71afa81bd8 R09: 0000000000000000
>>> [    5.587584] R10: 000000000000008f R11: 0000000000000206 R12: 0000000000008041
>>> [    5.587584] R13: 00007f71afa81b78 R14: 000000000000270f R15: 00007f71afa81b78
>>> [    5.587584] Object at ffff880000141a80, in cache kmalloc-96 size: 96
>>> [    5.587584] Allocated:
>>> [    5.587584] PID = 1
>>> [    5.587584]  save_stack_trace+0x1b/0x20
>>> [    5.587584]  kasan_kmalloc.part.4+0x64/0xf0
>>> [    5.587584]  kasan_kmalloc+0x85/0xb0
>>> [    5.587584]  __kmalloc+0x12b/0x320
>>> [    5.587584]  ext4_htree_store_dirent+0x3e/0x120
>>> [    5.587584]  htree_dirblock_to_tree+0xb9/0x1a0
>>> [    5.587584]  ext4_htree_fill_tree+0xa3/0x310
>>> [    5.587584]  ext4_readdir+0x6a9/0x920
>>> [    5.587584]  iterate_dir+0x7d/0x190
>>> [    5.587584]  SyS_getdents+0xac/0x170
>>> [    5.587584]  entry_SYSCALL_64_fastpath+0x23/0xc6
>>> [    5.587584] Freed:
>>> [    5.587584] PID = 1
>>> [    5.587584]  save_stack_trace+0x1b/0x20
>>> [    5.587584]  kasan_slab_free+0xbe/0x190
>>> [    5.587584]  kfree+0xff/0x2f0
>>> [    5.587584]  acpi_evaluate_object+0x26c/0x27e
>>> [    5.587584]  acpi_evaluate_integer+0x34/0x53
>>> [    5.587584]  acpi_get_node+0x2b/0x51
>>> [    5.587584]  pci_acpi_scan_root+0x2e/0x1d0
>>> [    5.587584]  acpi_pci_root_add+0x264/0x34b
>>> [    5.587584]  acpi_bus_attach+0xb6/0x15c
>>> [    5.587584]  acpi_bus_attach+0x123/0x15c
>>> [    5.587584]  acpi_bus_attach+0x123/0x15c
>>> [    5.587584]  acpi_bus_scan+0x5b/0x6b
>>> [    5.587584]  acpi_scan_init+0xcd/0x211
>>> [    5.587584]  acpi_init+0x2e0/0x309
>>> [    5.587584]  do_one_initcall+0x51/0x1b0
>>> [    5.587584]  kernel_init_freeable+0x20a/0x2a1
>>> [    5.587584]  kernel_init+0xe/0x100
>>> [    5.587584]  ret_from_fork+0x31/0x40
>>> [    5.587584] Memory state around the buggy address:
>>> [    5.587584]  ffff880000141980: 00 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc
>>> [    5.587584]  ffff880000141a00: 00 00 00 00 00 00 00 00 00 03 fc fc fc fc fc fc
>>> [    5.587584] >ffff880000141a80: 00 00 00 00 00 00 00 00 05 fc fc fc fc fc fc fc
>>> [    5.587584]                                            ^
>>> [    5.587584]  ffff880000141b00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc
>>> [    5.587584]  ffff880000141b80: 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc fc
>>>
>>> I'm not sure if this is an ext4 or ACPI problem.
>>
>> If this is a new bug, you can look for the first bad commit using git-bisect.
> 
> So apparently this is an ext4 bug, since I managed to bisected it all the way to 1771c6e1a567ea0 
> ("x86/kasan: instrument user memory access API"). So the first bad kernel is 4.7 and ACPI is not to blame . 
> 
> [EXT4 people might want to start looking from here]
> 
> There the splat looks like : 
> 
> [   17.003256] ==================================================================
> [   17.004185] BUG: KASAN: slab-out-of-bounds in filldir+0xc8/0x170 at addr ffff88006a22560e
> [   17.005177] Read of size 20 by task systemd/1
> [   17.005708] =============================================================================
> [   17.006688] BUG kmalloc-96 (Not tainted): kasan: bad access detected
> [   17.007464] -----------------------------------------------------------------------------
> [   17.007464] 
> [   17.008584] Disabling lock debugging due to kernel taint
> [   17.009202] INFO: Allocated in ext4_htree_store_dirent+0x3e/0x120 age=0 cpu=2 pid=1
> [   17.010080] 	___slab_alloc+0x636/0x6a0
> [   17.010514] 	__slab_alloc+0x4f/0x86
> [   17.010927] 	__kmalloc+0x27a/0x340
> [   17.011318] 	ext4_htree_store_dirent+0x3e/0x120
> [   17.011796] 	htree_dirblock_to_tree+0x16a/0x190
> [   17.012270] 	ext4_htree_fill_tree+0xaa/0x310
> [   17.012735] 	ext4_readdir+0x698/0x950
> [   17.013117] 	iterate_dir+0x7d/0x190
> [   17.013485] 	SyS_getdents+0x91/0x120
> [   17.013873] 	entry_SYSCALL_64_fastpath+0x23/0xc1
> [   17.014360] INFO: Freed in ext4_ext_map_blocks+0x7f9/0x23e0 age=1 cpu=2 pid=1
> [   17.015110] 	__slab_free+0x31b/0x440
> [   17.015489] 	kfree+0x27f/0x2d0
> [   17.015820] 	ext4_ext_map_blocks+0x7f9/0x23e0
> [   17.016283] 	ext4_map_blocks+0x3b4/0x5b0
> [   17.016699] 	ext4_getblk+0x54/0x1a0
> [   17.017066] 	ext4_bread+0x13/0x90
> [   17.017412] 	__ext4_read_dirblock+0x3f/0x380
> [   17.017861] 	htree_dirblock_to_tree+0x48/0x190
> [   17.018324] 	ext4_htree_fill_tree+0xaa/0x310
> [   17.018776] 	ext4_readdir+0x698/0x950
> [   17.019176] 	iterate_dir+0x7d/0x190
> [   17.019551] 	SyS_getdents+0x91/0x120
> [   17.019932] 	entry_SYSCALL_64_fastpath+0x23/0xc1
> [   17.020431] INFO: Slab 0xffffea0001a88900 objects=20 used=17 fp=0xffff88006a224e10 flags=0x4080
> [   17.021348] INFO: Object 0xffff88006a2255e0 @offset=5600 fp=0x45b282a2484c60d4
> [   17.021348] 
> [   17.022264] Bytes b4 ffff88006a2255d0: 02 00 00 00 01 00 00 00 c9 ac fb ff 00 00 00 00  ................
> [   17.023272] Object ffff88006a2255e0: d4 60 4c 48 a2 82 b2 45 18 8a 82 6a 00 88 ff ff  .`LH...E...j....
> [   17.024252] Object ffff88006a2255f0: 38 51 22 6a 00 88 ff ff 88 8b 82 6a 00 88 ff ff  8Q"j.......j....
> [   17.025166] Object ffff88006a225600: 00 00 00 00 00 00 00 00 28 03 08 00 14 01 66 62  ........(.....fb
> [   17.026129] Object ffff88006a225610: 64 65 76 2d 62 6c 61 63 6b 6c 69 73 74 2e 63 6f  dev-blacklist.co
> [   17.027156] Object ffff88006a225620: 6e 66 00 00 00 00 00 00 00 00 00 00 00 00 00 00  nf..............
> [   17.028202] Object ffff88006a225630: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
> [   17.029186] CPU: 2 PID: 1 Comm: systemd Tainted: G    B           4.7.0-nbor #171
> [   17.029972] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Ubuntu-1.8.2-1ubuntu1 04/01/2014
> [   17.030959]  0000000000000000 ffff88006cd97c58 ffffffff8146bd4c ffff8800000946c0
> [   17.031776]  ffff88006a2255e0 ffff88006cd97c88 ffffffff81198d96 ffff8800000946c0
> [   17.032597]  ffffea0001a88900 ffff88006a2255e0 0000000000000000 ffff88006cd97cb0
> [   17.033425] Call Trace:
> [   17.033700]  [<ffffffff8146bd4c>] dump_stack+0x85/0xc9
> [   17.034246]  [<ffffffff81198d96>] print_trailer+0x116/0x190
> [   17.034840]  [<ffffffff811992c1>] object_err+0x41/0x50
> [   17.035390]  [<ffffffff811a0a42>] kasan_report+0x282/0x530
> [   17.035966]  [<ffffffff8119ffa7>] check_memory_region+0x137/0x160
> [   17.036594]  [<ffffffff811a0041>] kasan_check_read+0x11/0x20
> [   17.037181]  [<ffffffff811ccc08>] filldir+0xc8/0x170 <---  if (copy_to_user(dirent->d_name, name, namlen))
> [   17.037687]  [<ffffffff8124af38>] call_filldir+0x88/0x140
> [   17.038244]  [<ffffffff8124b934>] ext4_readdir+0x714/0x950
> [   17.038813]  [<ffffffff811cccf9>] ? iterate_dir+0x49/0x190
> [   17.039399]  [<ffffffff811ccd2d>] iterate_dir+0x7d/0x190
> [   17.039909]  [<ffffffff811ccf71>] SyS_getdents+0x91/0x120
> [   17.040428]  [<ffffffff811ccb40>] ? filldir64+0x180/0x180
> [   17.040977]  [<ffffffff816d7d80>] entry_SYSCALL_64_fastpath+0x23/0xc1
> [   17.041652] Memory state around the buggy address:
> [   17.042136]  ffff88006a225500: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
> [   17.042924]  ffff88006a225580: fc fc fc fc fc fc fc fc fc fc fc fc 00 00 00 00
> [   17.043652] >ffff88006a225600: 00 00 00 00 05 fc fc fc fc fc fc fc fc fc fc fc
> [   17.044382]                                ^
> [   17.044814]  ffff88006a225680: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
> [   17.045559]  ffff88006a225700: fc fc fc fc fc fc fc fc fc fc fc fc fc fc 00 00
> [   17.046308] ==================================================================
> 
> 
> So the buffer containing the dentry name as received from ext4_htree_fill is actually 
> freed. 
> 

So this is some sort of a race condition. The problem disappeared as
soon as I added the following line:
pr_info("%s:freeing %p\n", __func__, path);
right after the ext4_ext_drop_refs(path); call in out2: label.

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

* Re: Race condition in ext4 (was Re: 4.11-rc1 acpi stomping ext4 slabs)
  2017-03-07 14:33     ` Race condition in ext4 (was Re: 4.11-rc1 acpi stomping ext4 slabs) Nikolay Borisov
@ 2017-03-07 20:40       ` Nikolay Borisov
  2017-03-09  1:58         ` Theodore Ts'o
  0 siblings, 1 reply; 7+ messages in thread
From: Nikolay Borisov @ 2017-03-07 20:40 UTC (permalink / raw)
  Cc: Ted Ts'o, LKML, Ext4 Developers List, Jan Kara

[-- Attachment #1: Type: text/plain, Size: 17311 bytes --]



On  7.03.2017 16:33, Nikolay Borisov wrote:
> 
> 
> On  7.03.2017 11:38, Nikolay Borisov wrote:
>>
>>
>> On  7.03.2017 00:35, Rafael J. Wysocki wrote:
>>> On Mon, Mar 6, 2017 at 9:31 PM, Nikolay Borisov
>>> <n.borisov.lkml@gmail.com> wrote:
>>>> Hello,
>>>>
>>>> Booting 4.11-rc1 with kasan enabled and "slub_debug=F" produces the following errors:
>>>>
>>>> [    7.070797] ==================================================================
>>>> [    7.071724] BUG: KASAN: slab-out-of-bounds in filldir+0xc3/0x160 at addr ffff88006bc2b0ae
>>>> [    7.071724] Read of size 20 by task systemd/1
>>>> [    7.071724] CPU: 1 PID: 1 Comm: systemd Not tainted 4.11.0-rc1-nbor #150
>>>> [    7.071724] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Ubuntu-1.8.2-1ubuntu1 04/01/2014
>>>> [    7.071724] Call Trace:
>>>> [    7.071724]  dump_stack+0x85/0xc9
>>>> [    7.071724]  kasan_object_err+0x2c/0x90
>>>> [    7.071724]  kasan_report+0x285/0x510
>>>> [    7.071724]  check_memory_region+0x137/0x160
>>>> [    7.071724]  kasan_check_read+0x11/0x20
>>>> [    7.071724]  filldir+0xc3/0x160
>>>> [    7.071724]  call_filldir+0x88/0x140
>>>> [    7.071724]  ext4_readdir+0x757/0x920
>>>> [    7.071724]  ? iterate_dir+0x49/0x190
>>>> [    7.071724]  iterate_dir+0x7d/0x190
>>>> [    7.071724]  ? entry_SYSCALL_64_fastpath+0x5/0xc6
>>>> [    7.071724]  SyS_getdents+0xac/0x170
>>>> [    7.071724]  ? filldir64+0x170/0x170
>>>> [    7.071724]  entry_SYSCALL_64_fastpath+0x23/0xc6
>>>> [    7.071724] RIP: 0033:0x7fa37ca2dd3b
>>>> [    7.071724] RSP: 002b:00007ffc63daf400 EFLAGS: 00000206 ORIG_RAX: 000000000000004e
>>>> [    7.071724] RAX: ffffffffffffffda RBX: 0000000000000046 RCX: 00007fa37ca2dd3b
>>>> [    7.071724] RDX: 0000000000008000 RSI: 0000560b369e4a10 RDI: 0000000000000004
>>>> [    7.071724] RBP: 00007fa37cd29b20 R08: 00007fa37cd29bd8 R09: 0000000000000000
>>>> [    7.071724] R10: 000000000000008f R11: 0000000000000206 R12: 0000000000008041
>>>> [    7.071724] R13: 00007fa37cd29b78 R14: 000000000000270f R15: 00007fa37cd29b78
>>>> [    7.071724] Object at ffff88006bc2b080, in cache kmalloc-96 size: 96
>>>> [    7.071724] Allocated:
>>>> [    7.071724] PID = 1
>>>> [    7.071724]  save_stack_trace+0x1b/0x20
>>>> [    7.071724]  kasan_kmalloc.part.4+0x64/0xf0
>>>> [    7.071724]  kasan_kmalloc+0x85/0xb0
>>>> [    7.071724]  __kmalloc+0x12b/0x320
>>>> [    7.071724]  ext4_htree_store_dirent+0x3e/0x120
>>>> [    7.071724]  htree_dirblock_to_tree+0xb9/0x1a0
>>>> [    7.071724]  ext4_htree_fill_tree+0xa3/0x310
>>>> [    7.071724]  ext4_readdir+0x6a9/0x920
>>>> [    7.071724]  iterate_dir+0x7d/0x190
>>>> [    7.071724]  SyS_getdents+0xac/0x170
>>>> [    7.071724]  entry_SYSCALL_64_fastpath+0x23/0xc6
>>>> [    7.071724] Freed:
>>>> [    7.071724] PID = 1
>>>> [    7.071724]  save_stack_trace+0x1b/0x20
>>>> [    7.071724]  kasan_slab_free+0xbe/0x190
>>>> [    7.071724]  kfree+0xff/0x2f0
>>>> [    7.071724]  acpi_ut_evaluate_object+0x18e/0x19d
>>>> [    7.071724]  acpi_ut_execute_STA+0x26/0x53
>>>> [    7.071724]  acpi_ns_get_device_callback+0x73/0x163
>>>> [    7.071724]  acpi_ns_walk_namespace+0xc0/0x17a
>>>> [    7.071724]  acpi_get_devices+0x66/0x7d
>>>> [    7.071724]  pnpacpi_init+0x52/0x74
>>>> [    7.071724]  do_one_initcall+0x51/0x1b0
>>>> [    7.071724]  kernel_init_freeable+0x20a/0x2a1
>>>> [    7.071724]  kernel_init+0xe/0x100
>>>> [    7.071724]  ret_from_fork+0x31/0x40
>>>> [    7.071724] Memory state around the buggy address:
>>>> [    7.071724]  ffff88006bc2af80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
>>>> [    7.071724]  ffff88006bc2b000: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc
>>>> [    7.071724] >ffff88006bc2b080: 00 00 00 00 00 00 00 00 05 fc fc fc fc fc fc fc
>>>> [    7.071724]                                            ^
>>>> [    7.071724]  ffff88006bc2b100: 00 00 00 00 00 00 00 00 00 04 fc fc fc fc fc fc
>>>> [    7.071724]  ffff88006bc2b180: 00 00 00 00 00 00 00 00 00 00 fc fc fc fc fc fc
>>>>
>>>> Not killing the VM instantly produces a continuous stream of kasan errors. Most of them
>>>> are identical to the one above, however there was one which was different:
>>>>
>>>> [    5.846193] ==================================================================
>>>> [    5.846787] BUG: KASAN: slab-out-of-bounds in filldir+0xc3/0x160 at addr ffff88006c783eae
>>>> [    5.847177] Read of size 22 by task systemd/1
>>>> [    5.847177] CPU: 3 PID: 1 Comm: systemd Tainted: G    B           4.11.0-rc1-nbor #150
>>>> [    5.847177] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Ubuntu-1.8.2-1ubuntu1 04/01/2014
>>>> [    5.847177] Call Trace:
>>>> [    5.847177]  dump_stack+0x85/0xc9
>>>> [    5.847177]  kasan_object_err+0x2c/0x90
>>>> [    5.847177]  kasan_report+0x285/0x510
>>>> [    5.847177]  check_memory_region+0x137/0x160
>>>> [    5.847177]  kasan_check_read+0x11/0x20
>>>> [    5.847177]  filldir+0xc3/0x160
>>>> [    5.847177]  call_filldir+0x88/0x140
>>>> [    5.847177]  ext4_readdir+0x757/0x920
>>>> [    5.847177]  ? iterate_dir+0x49/0x190
>>>> [    5.847177]  iterate_dir+0x7d/0x190
>>>> [    5.847177]  ? entry_SYSCALL_64_fastpath+0x5/0xc6
>>>> [    5.847177]  SyS_getdents+0xac/0x170
>>>> [    5.847177]  ? filldir64+0x170/0x170
>>>> [    5.847177]  entry_SYSCALL_64_fastpath+0x23/0xc6
>>>> [    5.847177] RIP: 0033:0x7f9dbd4e1d3b
>>>> [    5.847177] RSP: 002b:00007ffee6b51a60 EFLAGS: 00000206 ORIG_RAX: 000000000000004e
>>>> [    5.847177] RAX: ffffffffffffffda RBX: 0000000000000046 RCX: 00007f9dbd4e1d3b
>>>> [    5.847177] RDX: 0000000000008000 RSI: 000055c046802a10 RDI: 0000000000000004
>>>> [    5.847177] RBP: 00007f9dbd7ddb20 R08: 00007f9dbd7ddbd8 R09: 0000000000000000
>>>> [    5.847177] R10: 000000000000008f R11: 0000000000000206 R12: 0000000000008041
>>>> [    5.847177] R13: 00007f9dbd7ddb78 R14: 000000000000270f R15: 00007f9dbd7ddb78
>>>> [    5.847177] Object at ffff88006c783e80, in cache kmalloc-96 size: 96
>>>> [    5.847177] Allocated:
>>>> [    5.847177] PID = 1
>>>> [    5.847177]  save_stack_trace+0x1b/0x20
>>>> [    5.847177]  kasan_kmalloc.part.4+0x64/0xf0
>>>> [    5.847177]  kasan_kmalloc+0x85/0xb0
>>>> [    5.847177]  __kmalloc+0x12b/0x320
>>>> [    5.847177]  ext4_htree_store_dirent+0x3e/0x120
>>>> [    5.847177]  htree_dirblock_to_tree+0xb9/0x1a0
>>>> [    5.847177]  ext4_htree_fill_tree+0xa3/0x310
>>>> [    5.847177]  ext4_readdir+0x6a9/0x920
>>>> [    5.847177]  iterate_dir+0x7d/0x190
>>>> [    5.847177]  SyS_getdents+0xac/0x170
>>>> [    5.847177]  entry_SYSCALL_64_fastpath+0x23/0xc6
>>>> [    5.847177] Freed:
>>>> [    5.847177] PID = 1
>>>> [    5.847177]  save_stack_trace+0x1b/0x20
>>>> [    5.847177]  kasan_slab_free+0xbe/0x190
>>>> [    5.847177]  kfree+0xff/0x2f0
>>>> [    5.847177]  krealloc+0xac/0xc0
>>>> [    5.847177]  create_trace_option_files+0x127/0x270
>>>> [    5.847177]  __update_tracer_options+0x2c/0x40
>>>> [    5.847177]  tracer_init_tracefs+0x1a4/0x1b7
>>>> [    5.847177]  do_one_initcall+0x51/0x1b0
>>>> [    5.847177]  kernel_init_freeable+0x20a/0x2a1
>>>> [    5.847177]  kernel_init+0xe/0x100
>>>> [    5.847177]  ret_from_fork+0x31/0x40
>>>> [    5.847177] Memory state around the buggy address:
>>>>
>>>> So the free path is different.
>>>>
>>>> On a different boot with slab_debug options omitted e.g. no debugging enabled for SLUB
>>>> I got:
>>>>
>>>> [    5.586620] ==================================================================
>>>> [    5.587445] BUG: KASAN: slab-out-of-bounds in filldir+0xc3/0x160 at addr ffff880000141aae
>>>> [    5.587584] Read of size 20 by task systemd/1
>>>> [    5.587584] CPU: 0 PID: 1 Comm: systemd Not tainted 4.11.0-rc1-nbor #148
>>>> [    5.587584] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Ubuntu-1.8.2-1ubuntu1 04/01/2014
>>>> [    5.587584] Call Trace:
>>>> [    5.587584]  dump_stack+0x85/0xc9
>>>> [    5.587584]  kasan_object_err+0x2c/0x90
>>>> [    5.587584]  kasan_report+0x285/0x510
>>>> [    5.587584]  check_memory_region+0x137/0x160
>>>> [    5.587584]  kasan_check_read+0x11/0x20
>>>> [    5.587584]  filldir+0xc3/0x160
>>>> [    5.587584]  call_filldir+0x88/0x140
>>>> [    5.587584]  ext4_readdir+0x757/0x920
>>>> [    5.587584]  ? iterate_dir+0x49/0x190
>>>> [    5.587584]  iterate_dir+0x7d/0x190
>>>> [    5.587584]  ? entry_SYSCALL_64_fastpath+0x5/0xc6
>>>> [    5.587584]  SyS_getdents+0xac/0x170
>>>> [    5.587584]  ? filldir64+0x170/0x170
>>>> [    5.587584]  entry_SYSCALL_64_fastpath+0x23/0xc6
>>>> [    5.587584] RIP: 0033:0x7f71af785d3b
>>>> [    5.587584] RSP: 002b:00007ffeeda83390 EFLAGS: 00000206 ORIG_RAX: 000000000000004e
>>>> [    5.587584] RAX: ffffffffffffffda RBX: 0000000000000046 RCX: 00007f71af785d3b
>>>> [    5.587584] RDX: 0000000000008000 RSI: 0000561e6483ba10 RDI: 0000000000000004
>>>> [    5.587584] RBP: 00007f71afa81b20 R08: 00007f71afa81bd8 R09: 0000000000000000
>>>> [    5.587584] R10: 000000000000008f R11: 0000000000000206 R12: 0000000000008041
>>>> [    5.587584] R13: 00007f71afa81b78 R14: 000000000000270f R15: 00007f71afa81b78
>>>> [    5.587584] Object at ffff880000141a80, in cache kmalloc-96 size: 96
>>>> [    5.587584] Allocated:
>>>> [    5.587584] PID = 1
>>>> [    5.587584]  save_stack_trace+0x1b/0x20
>>>> [    5.587584]  kasan_kmalloc.part.4+0x64/0xf0
>>>> [    5.587584]  kasan_kmalloc+0x85/0xb0
>>>> [    5.587584]  __kmalloc+0x12b/0x320
>>>> [    5.587584]  ext4_htree_store_dirent+0x3e/0x120
>>>> [    5.587584]  htree_dirblock_to_tree+0xb9/0x1a0
>>>> [    5.587584]  ext4_htree_fill_tree+0xa3/0x310
>>>> [    5.587584]  ext4_readdir+0x6a9/0x920
>>>> [    5.587584]  iterate_dir+0x7d/0x190
>>>> [    5.587584]  SyS_getdents+0xac/0x170
>>>> [    5.587584]  entry_SYSCALL_64_fastpath+0x23/0xc6
>>>> [    5.587584] Freed:
>>>> [    5.587584] PID = 1
>>>> [    5.587584]  save_stack_trace+0x1b/0x20
>>>> [    5.587584]  kasan_slab_free+0xbe/0x190
>>>> [    5.587584]  kfree+0xff/0x2f0
>>>> [    5.587584]  acpi_evaluate_object+0x26c/0x27e
>>>> [    5.587584]  acpi_evaluate_integer+0x34/0x53
>>>> [    5.587584]  acpi_get_node+0x2b/0x51
>>>> [    5.587584]  pci_acpi_scan_root+0x2e/0x1d0
>>>> [    5.587584]  acpi_pci_root_add+0x264/0x34b
>>>> [    5.587584]  acpi_bus_attach+0xb6/0x15c
>>>> [    5.587584]  acpi_bus_attach+0x123/0x15c
>>>> [    5.587584]  acpi_bus_attach+0x123/0x15c
>>>> [    5.587584]  acpi_bus_scan+0x5b/0x6b
>>>> [    5.587584]  acpi_scan_init+0xcd/0x211
>>>> [    5.587584]  acpi_init+0x2e0/0x309
>>>> [    5.587584]  do_one_initcall+0x51/0x1b0
>>>> [    5.587584]  kernel_init_freeable+0x20a/0x2a1
>>>> [    5.587584]  kernel_init+0xe/0x100
>>>> [    5.587584]  ret_from_fork+0x31/0x40
>>>> [    5.587584] Memory state around the buggy address:
>>>> [    5.587584]  ffff880000141980: 00 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc
>>>> [    5.587584]  ffff880000141a00: 00 00 00 00 00 00 00 00 00 03 fc fc fc fc fc fc
>>>> [    5.587584] >ffff880000141a80: 00 00 00 00 00 00 00 00 05 fc fc fc fc fc fc fc
>>>> [    5.587584]                                            ^
>>>> [    5.587584]  ffff880000141b00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc
>>>> [    5.587584]  ffff880000141b80: 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc fc
>>>>
>>>> I'm not sure if this is an ext4 or ACPI problem.
>>>
>>> If this is a new bug, you can look for the first bad commit using git-bisect.
>>
>> So apparently this is an ext4 bug, since I managed to bisected it all the way to 1771c6e1a567ea0 
>> ("x86/kasan: instrument user memory access API"). So the first bad kernel is 4.7 and ACPI is not to blame . 
>>
>> [EXT4 people might want to start looking from here]
>>
>> There the splat looks like : 
>>
>> [   17.003256] ==================================================================
>> [   17.004185] BUG: KASAN: slab-out-of-bounds in filldir+0xc8/0x170 at addr ffff88006a22560e
>> [   17.005177] Read of size 20 by task systemd/1
>> [   17.005708] =============================================================================
>> [   17.006688] BUG kmalloc-96 (Not tainted): kasan: bad access detected
>> [   17.007464] -----------------------------------------------------------------------------
>> [   17.007464] 
>> [   17.008584] Disabling lock debugging due to kernel taint
>> [   17.009202] INFO: Allocated in ext4_htree_store_dirent+0x3e/0x120 age=0 cpu=2 pid=1
>> [   17.010080] 	___slab_alloc+0x636/0x6a0
>> [   17.010514] 	__slab_alloc+0x4f/0x86
>> [   17.010927] 	__kmalloc+0x27a/0x340
>> [   17.011318] 	ext4_htree_store_dirent+0x3e/0x120
>> [   17.011796] 	htree_dirblock_to_tree+0x16a/0x190
>> [   17.012270] 	ext4_htree_fill_tree+0xaa/0x310
>> [   17.012735] 	ext4_readdir+0x698/0x950
>> [   17.013117] 	iterate_dir+0x7d/0x190
>> [   17.013485] 	SyS_getdents+0x91/0x120
>> [   17.013873] 	entry_SYSCALL_64_fastpath+0x23/0xc1
>> [   17.014360] INFO: Freed in ext4_ext_map_blocks+0x7f9/0x23e0 age=1 cpu=2 pid=1
>> [   17.015110] 	__slab_free+0x31b/0x440
>> [   17.015489] 	kfree+0x27f/0x2d0
>> [   17.015820] 	ext4_ext_map_blocks+0x7f9/0x23e0
>> [   17.016283] 	ext4_map_blocks+0x3b4/0x5b0
>> [   17.016699] 	ext4_getblk+0x54/0x1a0
>> [   17.017066] 	ext4_bread+0x13/0x90
>> [   17.017412] 	__ext4_read_dirblock+0x3f/0x380
>> [   17.017861] 	htree_dirblock_to_tree+0x48/0x190
>> [   17.018324] 	ext4_htree_fill_tree+0xaa/0x310
>> [   17.018776] 	ext4_readdir+0x698/0x950
>> [   17.019176] 	iterate_dir+0x7d/0x190
>> [   17.019551] 	SyS_getdents+0x91/0x120
>> [   17.019932] 	entry_SYSCALL_64_fastpath+0x23/0xc1
>> [   17.020431] INFO: Slab 0xffffea0001a88900 objects=20 used=17 fp=0xffff88006a224e10 flags=0x4080
>> [   17.021348] INFO: Object 0xffff88006a2255e0 @offset=5600 fp=0x45b282a2484c60d4
>> [   17.021348] 
>> [   17.022264] Bytes b4 ffff88006a2255d0: 02 00 00 00 01 00 00 00 c9 ac fb ff 00 00 00 00  ................
>> [   17.023272] Object ffff88006a2255e0: d4 60 4c 48 a2 82 b2 45 18 8a 82 6a 00 88 ff ff  .`LH...E...j....
>> [   17.024252] Object ffff88006a2255f0: 38 51 22 6a 00 88 ff ff 88 8b 82 6a 00 88 ff ff  8Q"j.......j....
>> [   17.025166] Object ffff88006a225600: 00 00 00 00 00 00 00 00 28 03 08 00 14 01 66 62  ........(.....fb
>> [   17.026129] Object ffff88006a225610: 64 65 76 2d 62 6c 61 63 6b 6c 69 73 74 2e 63 6f  dev-blacklist.co
>> [   17.027156] Object ffff88006a225620: 6e 66 00 00 00 00 00 00 00 00 00 00 00 00 00 00  nf..............
>> [   17.028202] Object ffff88006a225630: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
>> [   17.029186] CPU: 2 PID: 1 Comm: systemd Tainted: G    B           4.7.0-nbor #171
>> [   17.029972] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Ubuntu-1.8.2-1ubuntu1 04/01/2014
>> [   17.030959]  0000000000000000 ffff88006cd97c58 ffffffff8146bd4c ffff8800000946c0
>> [   17.031776]  ffff88006a2255e0 ffff88006cd97c88 ffffffff81198d96 ffff8800000946c0
>> [   17.032597]  ffffea0001a88900 ffff88006a2255e0 0000000000000000 ffff88006cd97cb0
>> [   17.033425] Call Trace:
>> [   17.033700]  [<ffffffff8146bd4c>] dump_stack+0x85/0xc9
>> [   17.034246]  [<ffffffff81198d96>] print_trailer+0x116/0x190
>> [   17.034840]  [<ffffffff811992c1>] object_err+0x41/0x50
>> [   17.035390]  [<ffffffff811a0a42>] kasan_report+0x282/0x530
>> [   17.035966]  [<ffffffff8119ffa7>] check_memory_region+0x137/0x160
>> [   17.036594]  [<ffffffff811a0041>] kasan_check_read+0x11/0x20
>> [   17.037181]  [<ffffffff811ccc08>] filldir+0xc8/0x170 <---  if (copy_to_user(dirent->d_name, name, namlen))
>> [   17.037687]  [<ffffffff8124af38>] call_filldir+0x88/0x140
>> [   17.038244]  [<ffffffff8124b934>] ext4_readdir+0x714/0x950
>> [   17.038813]  [<ffffffff811cccf9>] ? iterate_dir+0x49/0x190
>> [   17.039399]  [<ffffffff811ccd2d>] iterate_dir+0x7d/0x190
>> [   17.039909]  [<ffffffff811ccf71>] SyS_getdents+0x91/0x120
>> [   17.040428]  [<ffffffff811ccb40>] ? filldir64+0x180/0x180
>> [   17.040977]  [<ffffffff816d7d80>] entry_SYSCALL_64_fastpath+0x23/0xc1
>> [   17.041652] Memory state around the buggy address:
>> [   17.042136]  ffff88006a225500: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
>> [   17.042924]  ffff88006a225580: fc fc fc fc fc fc fc fc fc fc fc fc 00 00 00 00
>> [   17.043652] >ffff88006a225600: 00 00 00 00 05 fc fc fc fc fc fc fc fc fc fc fc
>> [   17.044382]                                ^
>> [   17.044814]  ffff88006a225680: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
>> [   17.045559]  ffff88006a225700: fc fc fc fc fc fc fc fc fc fc fc fc fc fc 00 00
>> [   17.046308] ==================================================================
>>
>>
>> So the buffer containing the dentry name as received from ext4_htree_fill is actually 
>> freed. 
>>
> 
> So this is some sort of a race condition. The problem disappeared as
> soon as I added the following line:
> pr_info("%s:freeing %p\n", __func__, path);
> right after the ext4_ext_drop_refs(path); call in out2: label.

So this is wrong, the reason why the issues seemed fix is because I
switched my compiler to version 5.4.0. So this manifests only if I'm
using gcc 4.7.4. With the pr_info added here is the output of a boot. So
there are multiple invocations of ext4_ext_map_blocks and the freeing,
including with the address being used in subsequent kasan reports :
ffff88006ae8fdb0

Another interesting thing is the other freed object in
rcu_process_callbacks.


[-- Attachment #2: kasan_symbolized2.txt --]
[-- Type: text/plain, Size: 12216 bytes --]

[   16.697365] ext4_ext_map_blocks:freeing ffff88006a978e10 <repeated multiple times>
[   16.762156] ext4_ext_map_blocks:freeing ffff88006a978fa0
[   16.780245] ext4_ext_map_blocks:freeing ffff88006ae8fdb0 <repeated multiple times>
==================================================================
BUG: KASAN: slab-out-of-bounds in filldir+0xc8/0x170 at addr ffff88006ae8fdde
Read of size 20 by task systemd/1
=============================================================================
BUG kmalloc-96 (Not tainted): kasan: bad access detected
-----------------------------------------------------------------------------

Disabling lock debugging due to kernel taint
INFO: Allocated in ext4_htree_store_dirent+0x3e/0x120 age=3 cpu=0 pid=1
[<        none        >] ___slab_alloc+0x636/0x6a0 mm/slub.c:2446
[<        none        >] __slab_alloc+0x4f/0x86 mm/slub.c:2475
[<     inline     >] slab_alloc_node mm/slub.c:2538
[<     inline     >] slab_alloc mm/slub.c:2580
[<        none        >] __kmalloc+0x27a/0x340 mm/slub.c:3561
[<     inline     >] kmalloc include/linux/slab.h:483
[<     inline     >] kzalloc include/linux/slab.h:622
[<        none        >] ext4_htree_store_dirent+0x3e/0x120 fs/ext4/dir.c:447
[<        none        >] htree_dirblock_to_tree+0x16a/0x190 fs/ext4/namei.c:1001
[<        none        >] ext4_htree_fill_tree+0xaa/0x310 fs/ext4/namei.c:1075
[<     inline     >] ext4_dx_readdir fs/ext4/dir.c:571
[<        none        >] ext4_readdir+0x698/0x950 fs/ext4/dir.c:121
[<        none        >] iterate_dir+0x7d/0x190 fs/readdir.c:50
[<     inline     >] SYSC_getdents fs/readdir.c:230
[<        none        >] SyS_getdents+0x91/0x120 fs/readdir.c:212
[<        none        >] entry_SYSCALL_64_fastpath+0x23/0xc1 arch/x86/entry/entry_64.S:207
INFO: Freed in ext4_ext_map_blocks+0x434/0x2020 age=6 cpu=0 pid=1
[<        none        >] __slab_free+0x31b/0x480 mm/slub.c:2657
[<     inline     >] slab_free mm/slub.c:2810
[<        none        >] kfree+0x27f/0x2d0 mm/slub.c:3662
[<        none        >] ext4_ext_map_blocks+0x434/0x2020 fs/ext4/extents.c:4620
[<        none        >] ext4_map_blocks+0x3b4/0x5b0 fs/ext4/inode.c:529
[<        none        >] ext4_getblk+0x54/0x1a0 fs/ext4/inode.c:929
[<        none        >] ext4_bread+0x13/0x90 fs/ext4/inode.c:979
[<        none        >] __ext4_read_dirblock+0x3f/0x380 fs/ext4/namei.c:99
[<        none        >] htree_dirblock_to_tree+0x48/0x190 fs/ext4/namei.c:959
[<        none        >] ext4_htree_fill_tree+0xaa/0x310 fs/ext4/namei.c:1075
[<     inline     >] ext4_dx_readdir fs/ext4/dir.c:571
[<        none        >] ext4_readdir+0x698/0x950 fs/ext4/dir.c:121
[<        none        >] iterate_dir+0x7d/0x190 fs/readdir.c:50
[<     inline     >] SYSC_getdents fs/readdir.c:230
[<        none        >] SyS_getdents+0x91/0x120 fs/readdir.c:212
[<        none        >] entry_SYSCALL_64_fastpath+0x23/0xc1 arch/x86/entry/entry_64.S:207
INFO: Slab 0xffffea0001aba380 objects=20 used=20 fp=0x          (null) flags=0x4080
INFO: Object 0xffff88006ae8fdb0 @offset=7600 fp=0x45b282a2484c60d4

Bytes b4 ffff88006ae8fda0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
Object ffff88006ae8fdb0: d4 60 4c 48 a2 82 b2 45 38 be 84 6a 00 88 ff ff  .`LH...E8..j....
Object ffff88006ae8fdc0: 08 f9 e8 6a 00 88 ff ff c8 bc 84 6a 00 88 ff ff  ...j.......j....
Object ffff88006ae8fdd0: 00 00 00 00 00 00 00 00 28 03 08 00 14 01 66 62  ........(.....fb
Object ffff88006ae8fde0: 64 65 76 2d 62 6c 61 63 6b 6c 69 73 74 2e 63 6f  dev-blacklist.co
Object ffff88006ae8fdf0: 6e 66 00 00 00 00 00 00 00 00 00 00 00 00 00 00  nf..............
Object ffff88006ae8fe00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
CPU: 0 PID: 1 Comm: systemd Tainted: G    B           4.7.0-nbor #189
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Ubuntu-1.8.2-1ubuntu1 04/01/2014
 0000000000000000 ffff88006cd97c58 ffffffff81477dfc ffff8800000946c0
 ffff88006ae8fdb0 ffff88006cd97c88 ffffffff8119f0e6 ffff8800000946c0
 ffffea0001aba380 ffff88006ae8fdb0 0000000000000000 ffff88006cd97cb0
Call Trace:
 [<     inline     >] __dump_stack lib/dump_stack.c:15
 [<ffffffff81477dfc>] dump_stack+0x85/0xc9 lib/dump_stack.c:51
 [<ffffffff8119f0e6>] print_trailer+0x116/0x190 mm/slub.c:667
 [<ffffffff8119f611>] object_err+0x41/0x50 mm/slub.c:674
 [<     inline     >] print_address_description mm/kasan/report.c:180
 [<     inline     >] kasan_report_error mm/kasan/report.c:276
 [<ffffffff811a6f82>] kasan_report+0x282/0x530 mm/kasan/report.c:298
 [<     inline     >] check_memory_region_inline mm/kasan/kasan.c:292
 [<ffffffff811a64e7>] check_memory_region+0x137/0x160 mm/kasan/kasan.c:299
 [<ffffffff811a6581>] kasan_check_read+0x11/0x20 mm/kasan/kasan.c:304
 [<     inline     >] copy_to_user ./arch/x86/include/asm/uaccess.h:760
 [<ffffffff811d3a48>] filldir+0xc8/0x170 fs/readdir.c:195
 [<     inline     >] dir_emit include/linux/fs.h:3134
 [<ffffffff81252438>] call_filldir+0x88/0x140 fs/ext4/dir.c:510
 [<     inline     >] ext4_dx_readdir fs/ext4/dir.c:586
 [<ffffffff81252e34>] ext4_readdir+0x714/0x950 fs/ext4/dir.c:121
 [<ffffffff811d3b6d>] iterate_dir+0x7d/0x190 fs/readdir.c:50
 [<     inline     >] SYSC_getdents fs/readdir.c:230
 [<ffffffff811d3db1>] SyS_getdents+0x91/0x120 fs/readdir.c:212
 [<ffffffff816caa80>] entry_SYSCALL_64_fastpath+0x23/0xc1 arch/x86/entry/entry_64.S:207
Memory state around the buggy address:
 ffff88006ae8fc80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
 ffff88006ae8fd00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
>ffff88006ae8fd80: fc fc fc fc fc fc 00 00 00 00 00 00 00 00 05 fc
                                                             ^
 ffff88006ae8fe00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
 ffff88006ae8fe80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
==================================================================
==================================================================
BUG: KASAN: slab-out-of-bounds in filldir+0xc8/0x170 at addr ffff88006ac29dde
Read of size 27 by task systemd/1
=============================================================================
BUG kmalloc-96 (Tainted: G    B          ): kasan: bad access detected
-----------------------------------------------------------------------------

INFO: Allocated in ext4_htree_store_dirent+0x3e/0x120 age=36 cpu=0 pid=1
[<        none        >] ___slab_alloc+0x636/0x6a0 mm/slub.c:2446
[<        none        >] __slab_alloc+0x4f/0x86 mm/slub.c:2475
[<     inline     >] slab_alloc_node mm/slub.c:2538
[<     inline     >] slab_alloc mm/slub.c:2580
[<        none        >] __kmalloc+0x27a/0x340 mm/slub.c:3561
[<     inline     >] kmalloc include/linux/slab.h:483
[<     inline     >] kzalloc include/linux/slab.h:622
[<        none        >] ext4_htree_store_dirent+0x3e/0x120 fs/ext4/dir.c:447
[<        none        >] htree_dirblock_to_tree+0x16a/0x190 fs/ext4/namei.c:1001
[<        none        >] ext4_htree_fill_tree+0xaa/0x310 fs/ext4/namei.c:1075
[<     inline     >] ext4_dx_readdir fs/ext4/dir.c:571
[<        none        >] ext4_readdir+0x698/0x950 fs/ext4/dir.c:121
[<        none        >] iterate_dir+0x7d/0x190 fs/readdir.c:50
[<     inline     >] SYSC_getdents fs/readdir.c:230
[<        none        >] SyS_getdents+0x91/0x120 fs/readdir.c:212
[<        none        >] entry_SYSCALL_64_fastpath+0x23/0xc1 arch/x86/entry/entry_64.S:207
INFO: Freed in rcu_process_callbacks+0x271/0x880 age=119 cpu=0 pid=1
[<        none        >] __slab_free+0x31b/0x480 mm/slub.c:2657
[<     inline     >] slab_free mm/slub.c:2810
[<        none        >] kfree+0x27f/0x2d0 mm/slub.c:3662
[<     inline     >] __rcu_reclaim kernel/rcu/rcu.h:113
[<     inline     >] rcu_do_batch kernel/rcu/tree.c:2765
[<     inline     >] invoke_rcu_callbacks kernel/rcu/tree.c:3031
[<     inline     >] __rcu_process_callbacks kernel/rcu/tree.c:2998
[<        none        >] rcu_process_callbacks+0x271/0x880 kernel/rcu/tree.c:3015
[<        none        >] __do_softirq+0xc7/0x4bd kernel/softirq.c:273
[<     inline     >] invoke_softirq kernel/softirq.c:350
[<        none        >] irq_exit+0x90/0xb0 kernel/softirq.c:391
[<     inline     >] exiting_irq ./arch/x86/include/asm/apic.h:658
[<        none        >] smp_apic_timer_interrupt+0x42/0x50 arch/x86/kernel/apic/apic.c:932
[<        none        >] apic_timer_interrupt+0x8c/0xa0 arch/x86/entry/entry_64.S:618
[<     inline     >] slab_alloc_node mm/slub.c:2538
[<     inline     >] slab_alloc mm/slub.c:2580
[<        none        >] kmem_cache_alloc+0x229/0x2d0 mm/slub.c:2585
[<        none        >] mempool_alloc_slab+0x15/0x20 mm/mempool.c:461
[<        none        >] mempool_alloc+0x7a/0x190 mm/mempool.c:340
[<        none        >] bio_alloc_bioset+0x107/0x1e0 block/bio.c:469
[<     inline     >] bio_alloc include/linux/bio.h:446
[<        none        >] submit_bh_wbc.isra.32+0x73/0x130 fs/buffer.c:3009
[<        none        >] submit_bh+0x10/0x20 fs/buffer.c:3046
[<        none        >] ll_rw_block+0x62/0xa0 fs/buffer.c:3095
[<        none        >] __breadahead+0x33/0x50 fs/buffer.c:1398
[<     inline     >] sb_breadahead include/linux/buffer_head.h:309
[<        none        >] __ext4_get_inode_loc+0x41b/0x4f0 fs/ext4/inode.c:4273
INFO: Slab 0xffffea0001ab0a00 objects=20 used=18 fp=0xffff88006ac29900 flags=0x4080
INFO: Object 0xffff88006ac29db0 @offset=7600 fp=0x3a131cf85779a612

Bytes b4 ffff88006ac29da0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
Object ffff88006ac29db0: 12 a6 79 57 f8 1c 13 3a 08 f9 e8 6a 00 88 ff ff  ..yW...:...j....
Object ffff88006ac29dc0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
Object ffff88006ac29dd0: 00 00 00 00 00 00 00 00 8e 02 08 00 1b 01 62 6c  ..............bl
Object ffff88006ac29de0: 61 63 6b 6c 69 73 74 2d 72 61 72 65 2d 6e 65 74  acklist-rare-net
Object ffff88006ac29df0: 77 6f 72 6b 2e 63 6f 6e 66 00 00 00 00 00 00 00  work.conf.......
Object ffff88006ac29e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
CPU: 0 PID: 1 Comm: systemd Tainted: G    B           4.7.0-nbor #189
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Ubuntu-1.8.2-1ubuntu1 04/01/2014
 0000000000000000 ffff88006cd97c58 ffffffff81477dfc ffff8800000946c0
 ffff88006ac29db0 ffff88006cd97c88 ffffffff8119f0e6 ffff8800000946c0
 ffffea0001ab0a00 ffff88006ac29db0 0000000000000000 ffff88006cd97cb0
Call Trace:
 [<     inline     >] __dump_stack lib/dump_stack.c:15
 [<ffffffff81477dfc>] dump_stack+0x85/0xc9 lib/dump_stack.c:51
 [<ffffffff8119f0e6>] print_trailer+0x116/0x190 mm/slub.c:667
 [<ffffffff8119f611>] object_err+0x41/0x50 mm/slub.c:674
 [<     inline     >] print_address_description mm/kasan/report.c:180
 [<     inline     >] kasan_report_error mm/kasan/report.c:276
 [<ffffffff811a6f82>] kasan_report+0x282/0x530 mm/kasan/report.c:298
 [<     inline     >] check_memory_region_inline mm/kasan/kasan.c:292
 [<ffffffff811a64e7>] check_memory_region+0x137/0x160 mm/kasan/kasan.c:299
 [<ffffffff811a6581>] kasan_check_read+0x11/0x20 mm/kasan/kasan.c:304
 [<     inline     >] copy_to_user ./arch/x86/include/asm/uaccess.h:760
 [<ffffffff811d3a48>] filldir+0xc8/0x170 fs/readdir.c:195
 [<     inline     >] dir_emit include/linux/fs.h:3134
 [<ffffffff81252438>] call_filldir+0x88/0x140 fs/ext4/dir.c:510
 [<     inline     >] ext4_dx_readdir fs/ext4/dir.c:586
 [<ffffffff81252e34>] ext4_readdir+0x714/0x950 fs/ext4/dir.c:121
 [<ffffffff811d3b6d>] iterate_dir+0x7d/0x190 fs/readdir.c:50
 [<     inline     >] SYSC_getdents fs/readdir.c:230
 [<ffffffff811d3db1>] SyS_getdents+0x91/0x120 fs/readdir.c:212
 [<ffffffff816caa80>] entry_SYSCALL_64_fastpath+0x23/0xc1 arch/x86/entry/entry_64.S:207
Memory state around the buggy address:
 ffff88006ac29c80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
 ffff88006ac29d00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
>ffff88006ac29d80: fc fc fc fc fc fc 00 00 00 00 00 00 00 00 00 04
                                                                ^
 ffff88006ac29e00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
 ffff88006ac29e80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
==================================================================


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

* Re: Race condition in ext4 (was Re: 4.11-rc1 acpi stomping ext4 slabs)
  2017-03-07 20:40       ` Nikolay Borisov
@ 2017-03-09  1:58         ` Theodore Ts'o
  2017-03-09  6:32           ` Nikolay Borisov
  0 siblings, 1 reply; 7+ messages in thread
From: Theodore Ts'o @ 2017-03-09  1:58 UTC (permalink / raw)
  To: Nikolay Borisov; +Cc: LKML, Ext4 Developers List, Jan Kara

On Tue, Mar 07, 2017 at 10:40:53PM +0200, Nikolay Borisov wrote:
> So this is wrong, the reason why the issues seemed fix is because I
> switched my compiler to version 5.4.0. So this manifests only if I'm
> using gcc 4.7.4. With the pr_info added here is the output of a boot. So
> there are multiple invocations of ext4_ext_map_blocks and the freeing,
> including with the address being used in subsequent kasan reports :
> ffff88006ae8fdb0

Can you help bisect this, then?  I'm using Debian Testing, and the
default gcc is gcc 6.3.0.  I'm currently forcing the use of gcc 5.4.1
because I was running into problems with gcc 6.x a while back.  (TBH,
I was thinking about trying to see if gcc 6.3 was stable for kernel
compiles when I had some spare time.)  But I don't have access to
*any* gcc 4.x on my development system, and I don't think I've tried
using gcc 4.x in a long, Long, LONG time.

I'm currently kicking off a test run using 5.4.1 with KASAN enabled to
see if I can trigger it myself.  Can you send me a copy of your
.config so I can see what else might be interesting with your config?
(e.g., SLAB vs SLUB, etc.)

Thanks,

	     	     	       - Ted

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

* Re: Race condition in ext4 (was Re: 4.11-rc1 acpi stomping ext4 slabs)
  2017-03-09  1:58         ` Theodore Ts'o
@ 2017-03-09  6:32           ` Nikolay Borisov
  0 siblings, 0 replies; 7+ messages in thread
From: Nikolay Borisov @ 2017-03-09  6:32 UTC (permalink / raw)
  To: Theodore Ts'o, LKML, Ext4 Developers List, Jan Kara

[-- Attachment #1: Type: text/plain, Size: 1861 bytes --]



On  9.03.2017 03:58, Theodore Ts'o wrote:
> On Tue, Mar 07, 2017 at 10:40:53PM +0200, Nikolay Borisov wrote:
>> So this is wrong, the reason why the issues seemed fix is because I
>> switched my compiler to version 5.4.0. So this manifests only if I'm
>> using gcc 4.7.4. With the pr_info added here is the output of a boot. So
>> there are multiple invocations of ext4_ext_map_blocks and the freeing,
>> including with the address being used in subsequent kasan reports :
>> ffff88006ae8fdb0
> 
> Can you help bisect this, then?  I'm using Debian Testing, and the
> default gcc is gcc 6.3.0.  I'm currently forcing the use of gcc 5.4.1
> because I was running into problems with gcc 6.x a while back.  (TBH,
> I was thinking about trying to see if gcc 6.3 was stable for kernel
> compiles when I had some spare time.)  But I don't have access to
> *any* gcc 4.x on my development system, and I don't think I've tried
> using gcc 4.x in a long, Long, LONG time.
> 
> I'm currently kicking off a test run using 5.4.1 with KASAN enabled to
> see if I can trigger it myself.  Can you send me a copy of your
> .config so I can see what else might be interesting with your config?
> (e.g., SLAB vs SLUB, etc.)

Attached the config. FUrther debugging and talking with the kasan
developers I think this actually might be a kasan problem when used with
an old compiler.  I bisected this all the way to 1771c6e1a567ea0ba2,
which is the commit introducing the user access instrumentation. Here is
a mail thread where I confirmed that this might be a kasan issue :
https://lkml.org/lkml/2017/3/8/69

What I believe is happening is that the manual checks inserted in user
access code misses some context information due to instrumentation not
inserted by the compiler. Kasan gets confused as a result, hence the
warnings.


> 
> Thanks,
> 
> 	     	     	       - Ted
> 

[-- Attachment #2: kernel-4.7-config --]
[-- Type: text/plain, Size: 59069 bytes --]

#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 4.7.0 Kernel Configuration
#
CONFIG_64BIT=y
CONFIG_X86_64=y
CONFIG_X86=y
CONFIG_INSTRUCTION_DECODER=y
CONFIG_OUTPUT_FORMAT="elf64-x86-64"
CONFIG_ARCH_DEFCONFIG="arch/x86/configs/x86_64_defconfig"
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_MMU=y
CONFIG_ARCH_MMAP_RND_BITS_MIN=28
CONFIG_ARCH_MMAP_RND_BITS_MAX=32
CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MIN=8
CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MAX=16
CONFIG_NEED_DMA_MAP_STATE=y
CONFIG_NEED_SG_DMA_LENGTH=y
CONFIG_GENERIC_BUG=y
CONFIG_GENERIC_BUG_RELATIVE_POINTERS=y
CONFIG_GENERIC_HWEIGHT=y
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_ARCH_HAS_CPU_RELAX=y
CONFIG_ARCH_HAS_CACHE_LINE_SIZE=y
CONFIG_HAVE_SETUP_PER_CPU_AREA=y
CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK=y
CONFIG_NEED_PER_CPU_PAGE_FIRST_CHUNK=y
CONFIG_ARCH_HIBERNATION_POSSIBLE=y
CONFIG_ARCH_SUSPEND_POSSIBLE=y
CONFIG_ARCH_WANT_HUGE_PMD_SHARE=y
CONFIG_ARCH_WANT_GENERAL_HUGETLB=y
CONFIG_ZONE_DMA32=y
CONFIG_AUDIT_ARCH=y
CONFIG_ARCH_SUPPORTS_OPTIMIZED_INLINING=y
CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y
CONFIG_X86_64_SMP=y
CONFIG_ARCH_HWEIGHT_CFLAGS="-fcall-saved-rdi -fcall-saved-rsi -fcall-saved-rdx -fcall-saved-rcx -fcall-saved-r8 -fcall-saved-r9 -fcall-saved-r10 -fcall-saved-r11"
CONFIG_ARCH_SUPPORTS_UPROBES=y
CONFIG_FIX_EARLYCON_MEM=y
CONFIG_DEBUG_RODATA=y
CONFIG_PGTABLE_LEVELS=4
CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
CONFIG_IRQ_WORK=y
CONFIG_BUILDTIME_EXTABLE_SORT=y

#
# General setup
#
CONFIG_INIT_ENV_ARG_LIMIT=32
CONFIG_CROSS_COMPILE=""
# CONFIG_COMPILE_TEST is not set
CONFIG_LOCALVERSION="-nbor"
# CONFIG_LOCALVERSION_AUTO is not set
CONFIG_HAVE_KERNEL_GZIP=y
CONFIG_HAVE_KERNEL_BZIP2=y
CONFIG_HAVE_KERNEL_LZMA=y
CONFIG_HAVE_KERNEL_XZ=y
CONFIG_HAVE_KERNEL_LZO=y
CONFIG_HAVE_KERNEL_LZ4=y
CONFIG_KERNEL_GZIP=y
# CONFIG_KERNEL_BZIP2 is not set
# CONFIG_KERNEL_LZMA is not set
# CONFIG_KERNEL_XZ is not set
# CONFIG_KERNEL_LZO is not set
# CONFIG_KERNEL_LZ4 is not set
CONFIG_DEFAULT_HOSTNAME="(none)"
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
CONFIG_SYSVIPC_SYSCTL=y
# CONFIG_POSIX_MQUEUE is not set
CONFIG_CROSS_MEMORY_ATTACH=y
CONFIG_FHANDLE=y
# CONFIG_USELIB is not set
# CONFIG_AUDIT is not set
CONFIG_HAVE_ARCH_AUDITSYSCALL=y

#
# IRQ subsystem
#
CONFIG_GENERIC_IRQ_PROBE=y
CONFIG_GENERIC_IRQ_SHOW=y
CONFIG_GENERIC_PENDING_IRQ=y
CONFIG_IRQ_DOMAIN=y
CONFIG_IRQ_DOMAIN_HIERARCHY=y
CONFIG_GENERIC_MSI_IRQ=y
CONFIG_GENERIC_MSI_IRQ_DOMAIN=y
# CONFIG_IRQ_DOMAIN_DEBUG is not set
CONFIG_IRQ_FORCED_THREADING=y
CONFIG_SPARSE_IRQ=y
CONFIG_CLOCKSOURCE_WATCHDOG=y
CONFIG_ARCH_CLOCKSOURCE_DATA=y
CONFIG_CLOCKSOURCE_VALIDATE_LAST_CYCLE=y
CONFIG_GENERIC_TIME_VSYSCALL=y
CONFIG_GENERIC_CLOCKEVENTS=y
CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y
CONFIG_GENERIC_CLOCKEVENTS_MIN_ADJUST=y
CONFIG_GENERIC_CMOS_UPDATE=y

#
# Timers subsystem
#
CONFIG_TICK_ONESHOT=y
CONFIG_NO_HZ_COMMON=y
# CONFIG_HZ_PERIODIC is not set
CONFIG_NO_HZ_IDLE=y
# CONFIG_NO_HZ_FULL is not set
# CONFIG_NO_HZ is not set
CONFIG_HIGH_RES_TIMERS=y

#
# CPU/Task time and stats accounting
#
CONFIG_TICK_CPU_ACCOUNTING=y
# CONFIG_VIRT_CPU_ACCOUNTING_GEN is not set
# CONFIG_IRQ_TIME_ACCOUNTING is not set
CONFIG_BSD_PROCESS_ACCT=y
CONFIG_BSD_PROCESS_ACCT_V3=y
# CONFIG_TASKSTATS is not set

#
# RCU Subsystem
#
CONFIG_TREE_RCU=y
CONFIG_RCU_EXPERT=y
CONFIG_SRCU=y
# CONFIG_TASKS_RCU is not set
CONFIG_RCU_STALL_COMMON=y
CONFIG_RCU_FANOUT=64
CONFIG_RCU_FANOUT_LEAF=16
# CONFIG_RCU_FAST_NO_HZ is not set
# CONFIG_TREE_RCU_TRACE is not set
CONFIG_RCU_KTHREAD_PRIO=0
# CONFIG_RCU_NOCB_CPU is not set
# CONFIG_RCU_EXPEDITE_BOOT is not set
CONFIG_BUILD_BIN2C=y
CONFIG_IKCONFIG=y
# CONFIG_IKCONFIG_PROC is not set
CONFIG_LOG_BUF_SHIFT=17
CONFIG_LOG_CPU_MAX_BUF_SHIFT=12
CONFIG_NMI_LOG_BUF_SHIFT=13
CONFIG_HAVE_UNSTABLE_SCHED_CLOCK=y
CONFIG_ARCH_SUPPORTS_NUMA_BALANCING=y
CONFIG_ARCH_WANT_BATCHED_UNMAP_TLB_FLUSH=y
CONFIG_ARCH_SUPPORTS_INT128=y
# CONFIG_NUMA_BALANCING is not set
CONFIG_CGROUPS=y
CONFIG_PAGE_COUNTER=y
CONFIG_MEMCG=y
# CONFIG_MEMCG_SWAP is not set
CONFIG_BLK_CGROUP=y
# CONFIG_DEBUG_BLK_CGROUP is not set
CONFIG_CGROUP_WRITEBACK=y
CONFIG_CGROUP_SCHED=y
CONFIG_FAIR_GROUP_SCHED=y
CONFIG_CFS_BANDWIDTH=y
CONFIG_RT_GROUP_SCHED=y
CONFIG_CGROUP_PIDS=y
CONFIG_CGROUP_FREEZER=y
CONFIG_CPUSETS=y
CONFIG_PROC_PID_CPUSET=y
CONFIG_CGROUP_DEVICE=y
CONFIG_CGROUP_CPUACCT=y
CONFIG_CGROUP_PERF=y
# CONFIG_CGROUP_DEBUG is not set
CONFIG_CHECKPOINT_RESTORE=y
CONFIG_NAMESPACES=y
CONFIG_UTS_NS=y
CONFIG_IPC_NS=y
CONFIG_USER_NS=y
CONFIG_PID_NS=y
CONFIG_NET_NS=y
# CONFIG_SCHED_AUTOGROUP is not set
# CONFIG_SYSFS_DEPRECATED is not set
CONFIG_RELAY=y
CONFIG_BLK_DEV_INITRD=y
CONFIG_INITRAMFS_SOURCE=""
CONFIG_RD_GZIP=y
CONFIG_RD_BZIP2=y
CONFIG_RD_LZMA=y
CONFIG_RD_XZ=y
CONFIG_RD_LZO=y
CONFIG_RD_LZ4=y
CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE=y
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
CONFIG_SYSCTL=y
CONFIG_ANON_INODES=y
CONFIG_HAVE_UID16=y
CONFIG_SYSCTL_EXCEPTION_TRACE=y
CONFIG_HAVE_PCSPKR_PLATFORM=y
CONFIG_BPF=y
CONFIG_EXPERT=y
CONFIG_UID16=y
CONFIG_MULTIUSER=y
# CONFIG_SGETMASK_SYSCALL is not set
CONFIG_SYSFS_SYSCALL=y
# CONFIG_SYSCTL_SYSCALL is not set
CONFIG_KALLSYMS=y
CONFIG_KALLSYMS_ALL=y
CONFIG_KALLSYMS_ABSOLUTE_PERCPU=y
CONFIG_KALLSYMS_BASE_RELATIVE=y
CONFIG_PRINTK=y
CONFIG_PRINTK_NMI=y
CONFIG_BUG=y
CONFIG_ELF_CORE=y
# CONFIG_PCSPKR_PLATFORM is not set
# CONFIG_BASE_FULL is not set
CONFIG_FUTEX=y
CONFIG_EPOLL=y
CONFIG_SIGNALFD=y
CONFIG_TIMERFD=y
CONFIG_EVENTFD=y
# CONFIG_BPF_SYSCALL is not set
CONFIG_SHMEM=y
CONFIG_AIO=y
CONFIG_ADVISE_SYSCALLS=y
# CONFIG_USERFAULTFD is not set
CONFIG_PCI_QUIRKS=y
# CONFIG_MEMBARRIER is not set
# CONFIG_EMBEDDED is not set
CONFIG_HAVE_PERF_EVENTS=y

#
# Kernel Performance Events And Counters
#
CONFIG_PERF_EVENTS=y
# CONFIG_DEBUG_PERF_USE_VMALLOC is not set
CONFIG_VM_EVENT_COUNTERS=y
CONFIG_SLUB_DEBUG=y
# CONFIG_COMPAT_BRK is not set
# CONFIG_SLAB is not set
CONFIG_SLUB=y
# CONFIG_SLOB is not set
CONFIG_SLUB_CPU_PARTIAL=y
# CONFIG_SYSTEM_DATA_VERIFICATION is not set
# CONFIG_PROFILING is not set
CONFIG_TRACEPOINTS=y
CONFIG_KEXEC_CORE=y
CONFIG_HAVE_OPROFILE=y
CONFIG_OPROFILE_NMI_TIMER=y
CONFIG_KPROBES=y
CONFIG_JUMP_LABEL=y
# CONFIG_STATIC_KEYS_SELFTEST is not set
CONFIG_OPTPROBES=y
CONFIG_KPROBES_ON_FTRACE=y
# CONFIG_UPROBES is not set
# CONFIG_HAVE_64BIT_ALIGNED_ACCESS is not set
CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y
CONFIG_ARCH_USE_BUILTIN_BSWAP=y
CONFIG_KRETPROBES=y
CONFIG_HAVE_IOREMAP_PROT=y
CONFIG_HAVE_KPROBES=y
CONFIG_HAVE_KRETPROBES=y
CONFIG_HAVE_OPTPROBES=y
CONFIG_HAVE_KPROBES_ON_FTRACE=y
CONFIG_HAVE_NMI=y
CONFIG_HAVE_ARCH_TRACEHOOK=y
CONFIG_HAVE_DMA_CONTIGUOUS=y
CONFIG_GENERIC_SMP_IDLE_THREAD=y
CONFIG_ARCH_WANTS_DYNAMIC_TASK_STRUCT=y
CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y
CONFIG_HAVE_DMA_API_DEBUG=y
CONFIG_HAVE_HW_BREAKPOINT=y
CONFIG_HAVE_MIXED_BREAKPOINTS_REGS=y
CONFIG_HAVE_USER_RETURN_NOTIFIER=y
CONFIG_HAVE_PERF_EVENTS_NMI=y
CONFIG_HAVE_PERF_REGS=y
CONFIG_HAVE_PERF_USER_STACK_DUMP=y
CONFIG_HAVE_ARCH_JUMP_LABEL=y
CONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG=y
CONFIG_HAVE_ALIGNED_STRUCT_PAGE=y
CONFIG_HAVE_CMPXCHG_LOCAL=y
CONFIG_HAVE_CMPXCHG_DOUBLE=y
CONFIG_ARCH_WANT_COMPAT_IPC_PARSE_VERSION=y
CONFIG_ARCH_WANT_OLD_COMPAT_IPC=y
CONFIG_HAVE_ARCH_SECCOMP_FILTER=y
CONFIG_HAVE_CC_STACKPROTECTOR=y
CONFIG_CC_STACKPROTECTOR=y
# CONFIG_CC_STACKPROTECTOR_NONE is not set
CONFIG_CC_STACKPROTECTOR_REGULAR=y
# CONFIG_CC_STACKPROTECTOR_STRONG is not set
CONFIG_HAVE_CONTEXT_TRACKING=y
CONFIG_HAVE_VIRT_CPU_ACCOUNTING_GEN=y
CONFIG_HAVE_IRQ_TIME_ACCOUNTING=y
CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE=y
CONFIG_HAVE_ARCH_HUGE_VMAP=y
CONFIG_HAVE_ARCH_SOFT_DIRTY=y
CONFIG_MODULES_USE_ELF_RELA=y
CONFIG_HAVE_IRQ_EXIT_ON_IRQ_STACK=y
CONFIG_ARCH_HAS_ELF_RANDOMIZE=y
CONFIG_HAVE_ARCH_MMAP_RND_BITS=y
CONFIG_HAVE_EXIT_THREAD=y
CONFIG_ARCH_MMAP_RND_BITS=28
CONFIG_HAVE_ARCH_MMAP_RND_COMPAT_BITS=y
CONFIG_ARCH_MMAP_RND_COMPAT_BITS=8
CONFIG_HAVE_COPY_THREAD_TLS=y
CONFIG_HAVE_STACK_VALIDATION=y
# CONFIG_HAVE_ARCH_HASH is not set
# CONFIG_ISA_BUS_API is not set
CONFIG_OLD_SIGSUSPEND3=y
CONFIG_COMPAT_OLD_SIGACTION=y
# CONFIG_CPU_NO_EFFICIENT_FFS is not set

#
# GCOV-based kernel profiling
#
# CONFIG_GCOV_KERNEL is not set
CONFIG_ARCH_HAS_GCOV_PROFILE_ALL=y
# CONFIG_HAVE_GENERIC_DMA_COHERENT is not set
CONFIG_SLABINFO=y
CONFIG_RT_MUTEXES=y
CONFIG_BASE_SMALL=1
CONFIG_MODULES=y
# CONFIG_MODULE_FORCE_LOAD is not set
CONFIG_MODULE_UNLOAD=y
# CONFIG_MODULE_FORCE_UNLOAD is not set
CONFIG_MODVERSIONS=y
# CONFIG_MODULE_SRCVERSION_ALL is not set
# CONFIG_MODULE_SIG is not set
# CONFIG_MODULE_COMPRESS is not set
# CONFIG_TRIM_UNUSED_KSYMS is not set
CONFIG_MODULES_TREE_LOOKUP=y
CONFIG_BLOCK=y
CONFIG_BLK_DEV_BSG=y
# CONFIG_BLK_DEV_BSGLIB is not set
# CONFIG_BLK_DEV_INTEGRITY is not set
# CONFIG_BLK_DEV_THROTTLING is not set
# CONFIG_BLK_CMDLINE_PARSER is not set

#
# Partition Types
#
# CONFIG_PARTITION_ADVANCED is not set
CONFIG_MSDOS_PARTITION=y
CONFIG_EFI_PARTITION=y
CONFIG_BLOCK_COMPAT=y

#
# IO Schedulers
#
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_DEADLINE=y
CONFIG_IOSCHED_CFQ=y
# CONFIG_CFQ_GROUP_IOSCHED is not set
# CONFIG_DEFAULT_DEADLINE is not set
CONFIG_DEFAULT_CFQ=y
# CONFIG_DEFAULT_NOOP is not set
CONFIG_DEFAULT_IOSCHED="cfq"
CONFIG_ASN1=y
CONFIG_UNINLINE_SPIN_UNLOCK=y
CONFIG_ARCH_SUPPORTS_ATOMIC_RMW=y
CONFIG_RWSEM_SPIN_ON_OWNER=y
CONFIG_LOCK_SPIN_ON_OWNER=y
CONFIG_ARCH_USE_QUEUED_SPINLOCKS=y
CONFIG_QUEUED_SPINLOCKS=y
CONFIG_ARCH_USE_QUEUED_RWLOCKS=y
CONFIG_QUEUED_RWLOCKS=y
CONFIG_FREEZER=y

#
# Processor type and features
#
# CONFIG_ZONE_DMA is not set
CONFIG_SMP=y
CONFIG_X86_FEATURE_NAMES=y
CONFIG_X86_FAST_FEATURE_TESTS=y
# CONFIG_X86_X2APIC is not set
CONFIG_X86_MPPARSE=y
# CONFIG_GOLDFISH is not set
# CONFIG_X86_EXTENDED_PLATFORM is not set
# CONFIG_X86_INTEL_LPSS is not set
# CONFIG_X86_AMD_PLATFORM_DEVICE is not set
# CONFIG_IOSF_MBI is not set
# CONFIG_SCHED_OMIT_FRAME_POINTER is not set
CONFIG_HYPERVISOR_GUEST=y
CONFIG_PARAVIRT=y
# CONFIG_PARAVIRT_DEBUG is not set
# CONFIG_PARAVIRT_SPINLOCKS is not set
# CONFIG_XEN is not set
CONFIG_KVM_GUEST=y
# CONFIG_KVM_DEBUG_FS is not set
# CONFIG_PARAVIRT_TIME_ACCOUNTING is not set
CONFIG_PARAVIRT_CLOCK=y
CONFIG_NO_BOOTMEM=y
# CONFIG_MK8 is not set
# CONFIG_MPSC is not set
CONFIG_MCORE2=y
# CONFIG_MATOM is not set
# CONFIG_GENERIC_CPU is not set
CONFIG_X86_INTERNODE_CACHE_SHIFT=6
CONFIG_X86_L1_CACHE_SHIFT=6
CONFIG_X86_INTEL_USERCOPY=y
CONFIG_X86_USE_PPRO_CHECKSUM=y
CONFIG_X86_P6_NOP=y
CONFIG_X86_TSC=y
CONFIG_X86_CMPXCHG64=y
CONFIG_X86_CMOV=y
CONFIG_X86_MINIMUM_CPU_FAMILY=64
CONFIG_X86_DEBUGCTLMSR=y
CONFIG_PROCESSOR_SELECT=y
CONFIG_CPU_SUP_INTEL=y
# CONFIG_CPU_SUP_AMD is not set
# CONFIG_CPU_SUP_CENTAUR is not set
CONFIG_HPET_TIMER=y
CONFIG_DMI=y
# CONFIG_CALGARY_IOMMU is not set
CONFIG_SWIOTLB=y
CONFIG_IOMMU_HELPER=y
CONFIG_MAXSMP=y
CONFIG_NR_CPUS=8192
CONFIG_SCHED_SMT=y
CONFIG_SCHED_MC=y
CONFIG_PREEMPT_NONE=y
# CONFIG_PREEMPT_VOLUNTARY is not set
# CONFIG_PREEMPT is not set
CONFIG_PREEMPT_COUNT=y
CONFIG_X86_LOCAL_APIC=y
CONFIG_X86_IO_APIC=y
CONFIG_X86_REROUTE_FOR_BROKEN_BOOT_IRQS=y
# CONFIG_X86_MCE is not set

#
# Performance monitoring
#
CONFIG_PERF_EVENTS_INTEL_UNCORE=y
# CONFIG_PERF_EVENTS_INTEL_RAPL is not set
# CONFIG_PERF_EVENTS_INTEL_CSTATE is not set
# CONFIG_VM86 is not set
CONFIG_X86_VSYSCALL_EMULATION=y
# CONFIG_I8K is not set
CONFIG_MICROCODE=y
CONFIG_MICROCODE_INTEL=y
# CONFIG_MICROCODE_AMD is not set
CONFIG_MICROCODE_OLD_INTERFACE=y
CONFIG_X86_MSR=y
CONFIG_X86_CPUID=y
CONFIG_ARCH_PHYS_ADDR_T_64BIT=y
CONFIG_ARCH_DMA_ADDR_T_64BIT=y
CONFIG_X86_DIRECT_GBPAGES=y
CONFIG_NUMA=y
CONFIG_AMD_NUMA=y
CONFIG_X86_64_ACPI_NUMA=y
CONFIG_NODES_SPAN_OTHER_NODES=y
# CONFIG_NUMA_EMU is not set
CONFIG_NODES_SHIFT=10
CONFIG_ARCH_SPARSEMEM_ENABLE=y
CONFIG_ARCH_SPARSEMEM_DEFAULT=y
CONFIG_ARCH_SELECT_MEMORY_MODEL=y
# CONFIG_ARCH_MEMORY_PROBE is not set
CONFIG_ARCH_PROC_KCORE_TEXT=y
CONFIG_ILLEGAL_POINTER_VALUE=0xdead000000000000
CONFIG_SELECT_MEMORY_MODEL=y
CONFIG_SPARSEMEM_MANUAL=y
CONFIG_SPARSEMEM=y
CONFIG_NEED_MULTIPLE_NODES=y
CONFIG_HAVE_MEMORY_PRESENT=y
CONFIG_SPARSEMEM_EXTREME=y
CONFIG_SPARSEMEM_VMEMMAP_ENABLE=y
CONFIG_SPARSEMEM_ALLOC_MEM_MAP_TOGETHER=y
CONFIG_SPARSEMEM_VMEMMAP=y
CONFIG_HAVE_MEMBLOCK=y
CONFIG_HAVE_MEMBLOCK_NODE_MAP=y
CONFIG_ARCH_DISCARD_MEMBLOCK=y
# CONFIG_MOVABLE_NODE is not set
# CONFIG_HAVE_BOOTMEM_INFO_NODE is not set
CONFIG_MEMORY_HOTPLUG=y
CONFIG_MEMORY_HOTPLUG_SPARSE=y
# CONFIG_MEMORY_HOTPLUG_DEFAULT_ONLINE is not set
# CONFIG_MEMORY_HOTREMOVE is not set
CONFIG_SPLIT_PTLOCK_CPUS=4
CONFIG_ARCH_ENABLE_SPLIT_PMD_PTLOCK=y
CONFIG_MEMORY_BALLOON=y
CONFIG_BALLOON_COMPACTION=y
CONFIG_COMPACTION=y
CONFIG_MIGRATION=y
CONFIG_PHYS_ADDR_T_64BIT=y
CONFIG_VIRT_TO_BUS=y
# CONFIG_KSM is not set
CONFIG_DEFAULT_MMAP_MIN_ADDR=4096
CONFIG_TRANSPARENT_HUGEPAGE=y
# CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS is not set
CONFIG_TRANSPARENT_HUGEPAGE_MADVISE=y
# CONFIG_CLEANCACHE is not set
# CONFIG_FRONTSWAP is not set
# CONFIG_CMA is not set
# CONFIG_MEM_SOFT_DIRTY is not set
# CONFIG_ZPOOL is not set
# CONFIG_ZBUD is not set
# CONFIG_ZSMALLOC is not set
CONFIG_GENERIC_EARLY_IOREMAP=y
CONFIG_ARCH_SUPPORTS_DEFERRED_STRUCT_PAGE_INIT=y
# CONFIG_DEFERRED_STRUCT_PAGE_INIT is not set
# CONFIG_IDLE_PAGE_TRACKING is not set
# CONFIG_X86_PMEM_LEGACY is not set
# CONFIG_X86_CHECK_BIOS_CORRUPTION is not set
CONFIG_X86_RESERVE_LOW=64
CONFIG_MTRR=y
CONFIG_MTRR_SANITIZER=y
CONFIG_MTRR_SANITIZER_ENABLE_DEFAULT=0
CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT=1
CONFIG_X86_PAT=y
CONFIG_ARCH_USES_PG_UNCACHED=y
# CONFIG_ARCH_RANDOM is not set
CONFIG_X86_SMAP=y
# CONFIG_X86_INTEL_MPX is not set
# CONFIG_X86_INTEL_MEMORY_PROTECTION_KEYS is not set
# CONFIG_EFI is not set
# CONFIG_SECCOMP is not set
# CONFIG_HZ_100 is not set
# CONFIG_HZ_250 is not set
# CONFIG_HZ_300 is not set
CONFIG_HZ_1000=y
CONFIG_HZ=1000
CONFIG_SCHED_HRTICK=y
CONFIG_KEXEC=y
CONFIG_CRASH_DUMP=y
CONFIG_PHYSICAL_START=0x1000000
CONFIG_RELOCATABLE=y
# CONFIG_RANDOMIZE_BASE is not set
CONFIG_PHYSICAL_ALIGN=0x200000
CONFIG_HOTPLUG_CPU=y
# CONFIG_BOOTPARAM_HOTPLUG_CPU0 is not set
# CONFIG_DEBUG_HOTPLUG_CPU0 is not set
# CONFIG_COMPAT_VDSO is not set
# CONFIG_LEGACY_VSYSCALL_NATIVE is not set
CONFIG_LEGACY_VSYSCALL_EMULATE=y
# CONFIG_LEGACY_VSYSCALL_NONE is not set
# CONFIG_CMDLINE_BOOL is not set
# CONFIG_MODIFY_LDT_SYSCALL is not set
CONFIG_HAVE_LIVEPATCH=y
# CONFIG_LIVEPATCH is not set
CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y
CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y
CONFIG_USE_PERCPU_NUMA_NODE_ID=y

#
# Power management and ACPI options
#
# CONFIG_SUSPEND is not set
# CONFIG_HIBERNATION is not set
# CONFIG_PM is not set
CONFIG_ACPI=y
CONFIG_ACPI_LEGACY_TABLES_LOOKUP=y
CONFIG_ARCH_MIGHT_HAVE_ACPI_PDC=y
CONFIG_ACPI_SYSTEM_POWER_STATES_SUPPORT=y
# CONFIG_ACPI_DEBUGGER is not set
# CONFIG_ACPI_PROCFS_POWER is not set
CONFIG_ACPI_REV_OVERRIDE_POSSIBLE=y
# CONFIG_ACPI_EC_DEBUGFS is not set
CONFIG_ACPI_AC=y
CONFIG_ACPI_BATTERY=y
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_FAN=y
# CONFIG_ACPI_DOCK is not set
CONFIG_ACPI_CPU_FREQ_PSS=y
CONFIG_ACPI_PROCESSOR_IDLE=y
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_HOTPLUG_CPU=y
# CONFIG_ACPI_PROCESSOR_AGGREGATOR is not set
CONFIG_ACPI_THERMAL=y
CONFIG_ACPI_NUMA=y
CONFIG_ACPI_CUSTOM_DSDT_FILE=""
# CONFIG_ACPI_CUSTOM_DSDT is not set
CONFIG_ACPI_TABLE_UPGRADE=y
# CONFIG_ACPI_DEBUG is not set
# CONFIG_ACPI_PCI_SLOT is not set
CONFIG_X86_PM_TIMER=y
CONFIG_ACPI_CONTAINER=y
# CONFIG_ACPI_HOTPLUG_MEMORY is not set
CONFIG_ACPI_HOTPLUG_IOAPIC=y
# CONFIG_ACPI_SBS is not set
# CONFIG_ACPI_HED is not set
# CONFIG_ACPI_CUSTOM_METHOD is not set
# CONFIG_ACPI_REDUCED_HARDWARE_ONLY is not set
# CONFIG_ACPI_NFIT is not set
CONFIG_HAVE_ACPI_APEI=y
CONFIG_HAVE_ACPI_APEI_NMI=y
# CONFIG_ACPI_APEI is not set
# CONFIG_PMIC_OPREGION is not set
# CONFIG_SFI is not set

#
# CPU Frequency scaling
#
# CONFIG_CPU_FREQ is not set

#
# CPU Idle
#
CONFIG_CPU_IDLE=y
# CONFIG_CPU_IDLE_GOV_LADDER is not set
CONFIG_CPU_IDLE_GOV_MENU=y
# CONFIG_ARCH_NEEDS_CPU_IDLE_COUPLED is not set
# CONFIG_INTEL_IDLE is not set

#
# Memory power savings
#
# CONFIG_I7300_IDLE is not set

#
# Bus options (PCI etc.)
#
CONFIG_PCI=y
CONFIG_PCI_DIRECT=y
# CONFIG_PCI_MMCONFIG is not set
CONFIG_PCI_DOMAINS=y
# CONFIG_PCI_CNB20LE_QUIRK is not set
# CONFIG_PCIEPORTBUS is not set
CONFIG_PCI_BUS_ADDR_T_64BIT=y
CONFIG_PCI_MSI=y
CONFIG_PCI_MSI_IRQ_DOMAIN=y
# CONFIG_PCI_DEBUG is not set
# CONFIG_PCI_REALLOC_ENABLE_AUTO is not set
# CONFIG_PCI_STUB is not set
CONFIG_HT_IRQ=y
# CONFIG_PCI_IOV is not set
# CONFIG_PCI_PRI is not set
# CONFIG_PCI_PASID is not set
CONFIG_PCI_LABEL=y
# CONFIG_HOTPLUG_PCI is not set

#
# PCI host controller drivers
#
# CONFIG_PCIE_DW_PLAT is not set
# CONFIG_ISA_BUS is not set
# CONFIG_ISA_DMA_API is not set
# CONFIG_PCCARD is not set
# CONFIG_RAPIDIO is not set
# CONFIG_X86_SYSFB is not set

#
# Executable file formats / Emulations
#
CONFIG_BINFMT_ELF=y
CONFIG_COMPAT_BINFMT_ELF=y
CONFIG_ELFCORE=y
CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y
CONFIG_BINFMT_SCRIPT=y
# CONFIG_HAVE_AOUT is not set
CONFIG_BINFMT_MISC=y
CONFIG_COREDUMP=y
CONFIG_IA32_EMULATION=y
# CONFIG_IA32_AOUT is not set
CONFIG_X86_X32=y
CONFIG_COMPAT=y
CONFIG_COMPAT_FOR_U64_ALIGNMENT=y
CONFIG_SYSVIPC_COMPAT=y
CONFIG_KEYS_COMPAT=y
CONFIG_X86_DEV_DMA_OPS=y
CONFIG_PMC_ATOM=y
# CONFIG_VMD is not set
CONFIG_NET=y

#
# Networking options
#
CONFIG_PACKET=y
# CONFIG_PACKET_DIAG is not set
CONFIG_UNIX=y
# CONFIG_UNIX_DIAG is not set
CONFIG_XFRM=y
CONFIG_XFRM_ALGO=y
# CONFIG_XFRM_USER is not set
# CONFIG_XFRM_SUB_POLICY is not set
# CONFIG_XFRM_MIGRATE is not set
# CONFIG_XFRM_STATISTICS is not set
CONFIG_NET_KEY=y
# CONFIG_NET_KEY_MIGRATE is not set
CONFIG_INET=y
# CONFIG_IP_MULTICAST is not set
# CONFIG_IP_ADVANCED_ROUTER is not set
CONFIG_IP_PNP=y
CONFIG_IP_PNP_DHCP=y
# CONFIG_IP_PNP_BOOTP is not set
# CONFIG_IP_PNP_RARP is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE_DEMUX is not set
# CONFIG_NET_IP_TUNNEL is not set
CONFIG_SYN_COOKIES=y
# CONFIG_NET_IPVTI is not set
# CONFIG_NET_UDP_TUNNEL is not set
# CONFIG_NET_FOU is not set
# CONFIG_INET_AH is not set
# CONFIG_INET_ESP is not set
# CONFIG_INET_IPCOMP is not set
# CONFIG_INET_XFRM_TUNNEL is not set
# CONFIG_INET_TUNNEL is not set
CONFIG_INET_XFRM_MODE_TRANSPORT=y
CONFIG_INET_XFRM_MODE_TUNNEL=y
CONFIG_INET_XFRM_MODE_BEET=y
CONFIG_INET_DIAG=y
CONFIG_INET_TCP_DIAG=y
# CONFIG_INET_UDP_DIAG is not set
# CONFIG_INET_DIAG_DESTROY is not set
# CONFIG_TCP_CONG_ADVANCED is not set
CONFIG_TCP_CONG_CUBIC=y
CONFIG_DEFAULT_TCP_CONG="cubic"
# CONFIG_TCP_MD5SIG is not set
# CONFIG_IPV6 is not set
# CONFIG_NETWORK_SECMARK is not set
CONFIG_NET_PTP_CLASSIFY=y
# CONFIG_NETWORK_PHY_TIMESTAMPING is not set
# CONFIG_NETFILTER is not set
# CONFIG_IP_DCCP is not set
# CONFIG_IP_SCTP is not set
# CONFIG_RDS is not set
# CONFIG_TIPC is not set
# CONFIG_ATM is not set
# CONFIG_L2TP is not set
# CONFIG_BRIDGE is not set
CONFIG_HAVE_NET_DSA=y
# CONFIG_VLAN_8021Q is not set
# CONFIG_DECNET is not set
# CONFIG_LLC2 is not set
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_PHONET is not set
# CONFIG_IEEE802154 is not set
# CONFIG_NET_SCHED is not set
# CONFIG_DCB is not set
# CONFIG_DNS_RESOLVER is not set
# CONFIG_BATMAN_ADV is not set
# CONFIG_OPENVSWITCH is not set
CONFIG_VSOCKETS=y
# CONFIG_NETLINK_DIAG is not set
# CONFIG_MPLS is not set
# CONFIG_HSR is not set
# CONFIG_NET_SWITCHDEV is not set
# CONFIG_NET_L3_MASTER_DEV is not set
CONFIG_RPS=y
CONFIG_RFS_ACCEL=y
CONFIG_XPS=y
CONFIG_SOCK_CGROUP_DATA=y
CONFIG_CGROUP_NET_PRIO=y
CONFIG_CGROUP_NET_CLASSID=y
CONFIG_NET_RX_BUSY_POLL=y
CONFIG_BQL=y
# CONFIG_BPF_JIT is not set
CONFIG_NET_FLOW_LIMIT=y

#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
# CONFIG_NET_TCPPROBE is not set
# CONFIG_NET_DROP_MONITOR is not set
# CONFIG_HAMRADIO is not set
# CONFIG_CAN is not set
# CONFIG_IRDA is not set
# CONFIG_BT is not set
# CONFIG_AF_RXRPC is not set
# CONFIG_AF_KCM is not set
# CONFIG_WIRELESS is not set
# CONFIG_WIMAX is not set
# CONFIG_RFKILL is not set
CONFIG_NET_9P=y
CONFIG_NET_9P_VIRTIO=y
# CONFIG_NET_9P_DEBUG is not set
# CONFIG_CAIF is not set
# CONFIG_CEPH_LIB is not set
# CONFIG_NFC is not set
# CONFIG_LWTUNNEL is not set
# CONFIG_DST_CACHE is not set
# CONFIG_NET_DEVLINK is not set
CONFIG_MAY_USE_DEVLINK=y
CONFIG_HAVE_EBPF_JIT=y

#
# Device Drivers
#

#
# Generic Driver Options
#
CONFIG_UEVENT_HELPER=y
CONFIG_UEVENT_HELPER_PATH=""
CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y
# CONFIG_STANDALONE is not set
# CONFIG_PREVENT_FIRMWARE_BUILD is not set
CONFIG_FW_LOADER=y
CONFIG_FIRMWARE_IN_KERNEL=y
CONFIG_EXTRA_FIRMWARE=""
# CONFIG_FW_LOADER_USER_HELPER_FALLBACK is not set
# CONFIG_ALLOW_DEV_COREDUMP is not set
# CONFIG_DEBUG_DRIVER is not set
# CONFIG_DEBUG_DEVRES is not set
# CONFIG_SYS_HYPERVISOR is not set
# CONFIG_GENERIC_CPU_DEVICES is not set
CONFIG_GENERIC_CPU_AUTOPROBE=y
# CONFIG_DMA_SHARED_BUFFER is not set

#
# Bus devices
#
# CONFIG_CONNECTOR is not set
# CONFIG_MTD is not set
# CONFIG_OF is not set
CONFIG_ARCH_MIGHT_HAVE_PC_PARPORT=y
# CONFIG_PARPORT is not set
CONFIG_PNP=y
CONFIG_PNP_DEBUG_MESSAGES=y

#
# Protocols
#
CONFIG_PNPACPI=y
CONFIG_BLK_DEV=y
CONFIG_BLK_DEV_NULL_BLK=y
# CONFIG_BLK_DEV_PCIESSD_MTIP32XX is not set
# CONFIG_BLK_CPQ_CISS_DA is not set
# CONFIG_BLK_DEV_DAC960 is not set
# CONFIG_BLK_DEV_UMEM is not set
# CONFIG_BLK_DEV_COW_COMMON is not set
CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_LOOP_MIN_COUNT=8
# CONFIG_BLK_DEV_CRYPTOLOOP is not set
# CONFIG_BLK_DEV_DRBD is not set
# CONFIG_BLK_DEV_NBD is not set
# CONFIG_BLK_DEV_SKD is not set
# CONFIG_BLK_DEV_SX8 is not set
# CONFIG_BLK_DEV_RAM is not set
# CONFIG_CDROM_PKTCDVD is not set
# CONFIG_ATA_OVER_ETH is not set
CONFIG_VIRTIO_BLK=y
# CONFIG_BLK_DEV_HD is not set
# CONFIG_BLK_DEV_RBD is not set
# CONFIG_BLK_DEV_RSXX is not set
# CONFIG_BLK_DEV_NVME is not set

#
# Misc devices
#
# CONFIG_SENSORS_LIS3LV02D is not set
# CONFIG_DUMMY_IRQ is not set
# CONFIG_IBM_ASM is not set
# CONFIG_PHANTOM is not set
# CONFIG_SGI_IOC4 is not set
# CONFIG_TIFM_CORE is not set
# CONFIG_ENCLOSURE_SERVICES is not set
# CONFIG_HP_ILO is not set
# CONFIG_SRAM is not set
# CONFIG_C2PORT is not set

#
# EEPROM support
#
# CONFIG_EEPROM_93CX6 is not set
# CONFIG_CB710_CORE is not set

#
# Texas Instruments shared transport line discipline
#

#
# Altera FPGA firmware download module
#
# CONFIG_INTEL_MEI is not set
# CONFIG_INTEL_MEI_ME is not set
# CONFIG_INTEL_MEI_TXE is not set
# CONFIG_VMWARE_VMCI is not set

#
# Intel MIC Bus Driver
#
# CONFIG_INTEL_MIC_BUS is not set

#
# SCIF Bus Driver
#
# CONFIG_SCIF_BUS is not set

#
# VOP Bus Driver
#
# CONFIG_VOP_BUS is not set

#
# Intel MIC Host Driver
#

#
# Intel MIC Card Driver
#

#
# SCIF Driver
#

#
# Intel MIC Coprocessor State Management (COSM) Drivers
#

#
# VOP Driver
#
# CONFIG_GENWQE is not set
# CONFIG_ECHO is not set
# CONFIG_CXL_BASE is not set
# CONFIG_CXL_KERNEL_API is not set
# CONFIG_CXL_EEH is not set
CONFIG_HAVE_IDE=y
# CONFIG_IDE is not set

#
# SCSI device support
#
CONFIG_SCSI_MOD=y
# CONFIG_RAID_ATTRS is not set
CONFIG_SCSI=y
CONFIG_SCSI_DMA=y
# CONFIG_SCSI_NETLINK is not set
# CONFIG_SCSI_MQ_DEFAULT is not set
CONFIG_SCSI_PROC_FS=y

#
# SCSI support type (disk, tape, CD-ROM)
#
# CONFIG_BLK_DEV_SD is not set
# CONFIG_CHR_DEV_ST is not set
# CONFIG_CHR_DEV_OSST is not set
# CONFIG_BLK_DEV_SR is not set
# CONFIG_CHR_DEV_SG is not set
# CONFIG_CHR_DEV_SCH is not set
# CONFIG_SCSI_CONSTANTS is not set
CONFIG_SCSI_LOGGING=y
CONFIG_SCSI_SCAN_ASYNC=y

#
# SCSI Transports
#
# CONFIG_SCSI_SPI_ATTRS is not set
# CONFIG_SCSI_FC_ATTRS is not set
# CONFIG_SCSI_ISCSI_ATTRS is not set
# CONFIG_SCSI_SAS_ATTRS is not set
# CONFIG_SCSI_SAS_LIBSAS is not set
# CONFIG_SCSI_SRP_ATTRS is not set
CONFIG_SCSI_LOWLEVEL=y
# CONFIG_ISCSI_TCP is not set
# CONFIG_ISCSI_BOOT_SYSFS is not set
# CONFIG_SCSI_CXGB3_ISCSI is not set
# CONFIG_SCSI_CXGB4_ISCSI is not set
# CONFIG_SCSI_BNX2_ISCSI is not set
# CONFIG_BE2ISCSI is not set
# CONFIG_BLK_DEV_3W_XXXX_RAID is not set
# CONFIG_SCSI_HPSA is not set
# CONFIG_SCSI_3W_9XXX is not set
# CONFIG_SCSI_3W_SAS is not set
# CONFIG_SCSI_ACARD is not set
# CONFIG_SCSI_AACRAID is not set
# CONFIG_SCSI_AIC7XXX is not set
# CONFIG_SCSI_AIC79XX is not set
# CONFIG_SCSI_AIC94XX is not set
# CONFIG_SCSI_MVSAS is not set
# CONFIG_SCSI_MVUMI is not set
# CONFIG_SCSI_DPT_I2O is not set
# CONFIG_SCSI_ADVANSYS is not set
# CONFIG_SCSI_ARCMSR is not set
# CONFIG_SCSI_ESAS2R is not set
# CONFIG_MEGARAID_NEWGEN is not set
# CONFIG_MEGARAID_LEGACY is not set
# CONFIG_MEGARAID_SAS is not set
# CONFIG_SCSI_MPT3SAS is not set
# CONFIG_SCSI_MPT2SAS is not set
# CONFIG_SCSI_UFSHCD is not set
# CONFIG_SCSI_HPTIOP is not set
# CONFIG_VMWARE_PVSCSI is not set
# CONFIG_SCSI_SNIC is not set
# CONFIG_SCSI_DMX3191D is not set
# CONFIG_SCSI_FUTURE_DOMAIN is not set
# CONFIG_SCSI_ISCI is not set
# CONFIG_SCSI_IPS is not set
# CONFIG_SCSI_INITIO is not set
# CONFIG_SCSI_INIA100 is not set
# CONFIG_SCSI_STEX is not set
# CONFIG_SCSI_SYM53C8XX_2 is not set
# CONFIG_SCSI_QLOGIC_1280 is not set
# CONFIG_SCSI_QLA_ISCSI is not set
# CONFIG_SCSI_DC395x is not set
# CONFIG_SCSI_AM53C974 is not set
# CONFIG_SCSI_WD719X is not set
# CONFIG_SCSI_DEBUG is not set
# CONFIG_SCSI_PMCRAID is not set
# CONFIG_SCSI_PM8001 is not set
CONFIG_SCSI_VIRTIO=y
# CONFIG_SCSI_DH is not set
# CONFIG_SCSI_OSD_INITIATOR is not set
# CONFIG_ATA is not set
# CONFIG_MD is not set
# CONFIG_TARGET_CORE is not set
# CONFIG_FUSION is not set

#
# IEEE 1394 (FireWire) support
#
# CONFIG_FIREWIRE is not set
# CONFIG_FIREWIRE_NOSY is not set
# CONFIG_MACINTOSH_DRIVERS is not set
CONFIG_NETDEVICES=y
CONFIG_MII=y
CONFIG_NET_CORE=y
# CONFIG_BONDING is not set
# CONFIG_DUMMY is not set
# CONFIG_EQUALIZER is not set
# CONFIG_NET_FC is not set
# CONFIG_NET_TEAM is not set
# CONFIG_MACVLAN is not set
# CONFIG_VXLAN is not set
# CONFIG_MACSEC is not set
# CONFIG_NETCONSOLE is not set
# CONFIG_NETPOLL is not set
# CONFIG_NET_POLL_CONTROLLER is not set
# CONFIG_TUN is not set
# CONFIG_TUN_VNET_CROSS_LE is not set
CONFIG_VETH=y
CONFIG_VIRTIO_NET=y
CONFIG_NLMON=y
# CONFIG_ARCNET is not set

#
# CAIF transport drivers
#
# CONFIG_VHOST_NET is not set
# CONFIG_VHOST_CROSS_ENDIAN_LEGACY is not set

#
# Distributed Switch Architecture drivers
#
CONFIG_ETHERNET=y
# CONFIG_NET_VENDOR_3COM is not set
# CONFIG_NET_VENDOR_ADAPTEC is not set
# CONFIG_NET_VENDOR_AGERE is not set
# CONFIG_NET_VENDOR_ALTEON is not set
# CONFIG_ALTERA_TSE is not set
# CONFIG_NET_VENDOR_AMD is not set
# CONFIG_NET_VENDOR_ARC is not set
# CONFIG_NET_VENDOR_ATHEROS is not set
# CONFIG_NET_VENDOR_AURORA is not set
# CONFIG_NET_CADENCE is not set
# CONFIG_NET_VENDOR_BROADCOM is not set
# CONFIG_NET_VENDOR_BROCADE is not set
# CONFIG_NET_VENDOR_CAVIUM is not set
# CONFIG_NET_VENDOR_CHELSIO is not set
# CONFIG_NET_VENDOR_CISCO is not set
# CONFIG_CX_ECAT is not set
# CONFIG_DNET is not set
# CONFIG_NET_VENDOR_DEC is not set
# CONFIG_NET_VENDOR_DLINK is not set
# CONFIG_NET_VENDOR_EMULEX is not set
# CONFIG_NET_VENDOR_EZCHIP is not set
# CONFIG_NET_VENDOR_EXAR is not set
# CONFIG_NET_VENDOR_HP is not set
CONFIG_NET_VENDOR_INTEL=y
CONFIG_E100=y
CONFIG_E1000=y
CONFIG_E1000E=y
# CONFIG_E1000E_HWTS is not set
# CONFIG_IGB is not set
# CONFIG_IGBVF is not set
# CONFIG_IXGB is not set
# CONFIG_IXGBE is not set
# CONFIG_IXGBEVF is not set
# CONFIG_I40E is not set
# CONFIG_I40EVF is not set
# CONFIG_FM10K is not set
# CONFIG_NET_VENDOR_I825XX is not set
# CONFIG_JME is not set
# CONFIG_NET_VENDOR_MARVELL is not set
# CONFIG_NET_VENDOR_MELLANOX is not set
# CONFIG_NET_VENDOR_MICREL is not set
# CONFIG_NET_VENDOR_MYRI is not set
# CONFIG_FEALNX is not set
# CONFIG_NET_VENDOR_NATSEMI is not set
# CONFIG_NET_VENDOR_NETRONOME is not set
# CONFIG_NET_VENDOR_NVIDIA is not set
# CONFIG_NET_VENDOR_OKI is not set
# CONFIG_ETHOC is not set
# CONFIG_NET_PACKET_ENGINE is not set
# CONFIG_NET_VENDOR_QLOGIC is not set
# CONFIG_NET_VENDOR_QUALCOMM is not set
# CONFIG_NET_VENDOR_REALTEK is not set
# CONFIG_NET_VENDOR_RENESAS is not set
# CONFIG_NET_VENDOR_RDC is not set
# CONFIG_NET_VENDOR_ROCKER is not set
# CONFIG_NET_VENDOR_SAMSUNG is not set
# CONFIG_NET_VENDOR_SEEQ is not set
# CONFIG_NET_VENDOR_SILAN is not set
# CONFIG_NET_VENDOR_SIS is not set
# CONFIG_SFC is not set
# CONFIG_NET_VENDOR_SMSC is not set
# CONFIG_NET_VENDOR_STMICRO is not set
# CONFIG_NET_VENDOR_SUN is not set
# CONFIG_NET_VENDOR_SYNOPSYS is not set
# CONFIG_NET_VENDOR_TEHUTI is not set
# CONFIG_NET_VENDOR_TI is not set
# CONFIG_NET_VENDOR_VIA is not set
# CONFIG_NET_VENDOR_WIZNET is not set
# CONFIG_FDDI is not set
# CONFIG_HIPPI is not set
# CONFIG_NET_SB1000 is not set
# CONFIG_PHYLIB is not set
# CONFIG_PPP is not set
# CONFIG_SLIP is not set

#
# Host-side USB support is needed for USB Network Adapter support
#
# CONFIG_WLAN is not set

#
# Enable WiMAX (Networking options) to see the WiMAX drivers
#
# CONFIG_WAN is not set
# CONFIG_VMXNET3 is not set
# CONFIG_FUJITSU_ES is not set
# CONFIG_ISDN is not set
# CONFIG_NVM is not set

#
# Input device support
#
CONFIG_INPUT=y
# CONFIG_INPUT_FF_MEMLESS is not set
# CONFIG_INPUT_POLLDEV is not set
# CONFIG_INPUT_SPARSEKMAP is not set
# CONFIG_INPUT_MATRIXKMAP is not set

#
# Userland interfaces
#
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
# CONFIG_INPUT_JOYDEV is not set
# CONFIG_INPUT_EVDEV is not set
# CONFIG_INPUT_EVBUG is not set

#
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
CONFIG_KEYBOARD_ATKBD=y
# CONFIG_KEYBOARD_LKKBD is not set
# CONFIG_KEYBOARD_NEWTON is not set
# CONFIG_KEYBOARD_OPENCORES is not set
# CONFIG_KEYBOARD_STOWAWAY is not set
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_XTKBD is not set
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=y
CONFIG_MOUSE_PS2_ALPS=y
# CONFIG_MOUSE_PS2_BYD is not set
CONFIG_MOUSE_PS2_LOGIPS2PP=y
CONFIG_MOUSE_PS2_SYNAPTICS=y
CONFIG_MOUSE_PS2_CYPRESS=y
CONFIG_MOUSE_PS2_LIFEBOOK=y
CONFIG_MOUSE_PS2_TRACKPOINT=y
# CONFIG_MOUSE_PS2_ELANTECH is not set
# CONFIG_MOUSE_PS2_SENTELIC is not set
# CONFIG_MOUSE_PS2_TOUCHKIT is not set
CONFIG_MOUSE_PS2_FOCALTECH=y
# CONFIG_MOUSE_PS2_VMMOUSE is not set
# CONFIG_MOUSE_SERIAL is not set
# CONFIG_MOUSE_VSXXXAA is not set
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TABLET is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
# CONFIG_INPUT_MISC is not set
# CONFIG_RMI4_CORE is not set

#
# Hardware I/O ports
#
CONFIG_SERIO=y
CONFIG_ARCH_MIGHT_HAVE_PC_SERIO=y
CONFIG_SERIO_I8042=y
CONFIG_SERIO_SERPORT=y
# CONFIG_SERIO_CT82C710 is not set
# CONFIG_SERIO_PCIPS2 is not set
CONFIG_SERIO_LIBPS2=y
# CONFIG_SERIO_RAW is not set
# CONFIG_SERIO_ALTERA_PS2 is not set
# CONFIG_SERIO_PS2MULT is not set
# CONFIG_SERIO_ARC_PS2 is not set
# CONFIG_USERIO is not set
# CONFIG_GAMEPORT is not set

#
# Character devices
#
CONFIG_TTY=y
CONFIG_VT=y
CONFIG_CONSOLE_TRANSLATIONS=y
CONFIG_VT_CONSOLE=y
CONFIG_HW_CONSOLE=y
# CONFIG_VT_HW_CONSOLE_BINDING is not set
CONFIG_UNIX98_PTYS=y
CONFIG_LEGACY_PTYS=y
CONFIG_LEGACY_PTY_COUNT=256
# CONFIG_SERIAL_NONSTANDARD is not set
# CONFIG_NOZOMI is not set
# CONFIG_N_GSM is not set
# CONFIG_TRACE_SINK is not set
CONFIG_DEVMEM=y
CONFIG_DEVKMEM=y

#
# Serial drivers
#
CONFIG_SERIAL_EARLYCON=y
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_DEPRECATED_OPTIONS=y
CONFIG_SERIAL_8250_PNP=y
# CONFIG_SERIAL_8250_FINTEK is not set
CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_SERIAL_8250_PCI=y
CONFIG_SERIAL_8250_NR_UARTS=4
CONFIG_SERIAL_8250_RUNTIME_UARTS=4
# CONFIG_SERIAL_8250_EXTENDED is not set
# CONFIG_SERIAL_8250_FSL is not set
# CONFIG_SERIAL_8250_DW is not set
# CONFIG_SERIAL_8250_RT288X is not set
# CONFIG_SERIAL_8250_MID is not set
# CONFIG_SERIAL_8250_MOXA is not set

#
# Non-8250 serial port support
#
# CONFIG_SERIAL_UARTLITE is not set
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
# CONFIG_SERIAL_JSM is not set
# CONFIG_SERIAL_SCCNXP is not set
# CONFIG_SERIAL_ALTERA_JTAGUART is not set
# CONFIG_SERIAL_ALTERA_UART is not set
# CONFIG_SERIAL_ARC is not set
# CONFIG_SERIAL_RP2 is not set
# CONFIG_SERIAL_FSL_LPUART is not set
# CONFIG_TTY_PRINTK is not set
CONFIG_HVC_DRIVER=y
CONFIG_VIRTIO_CONSOLE=y
# CONFIG_IPMI_HANDLER is not set
# CONFIG_HW_RANDOM is not set
# CONFIG_NVRAM is not set
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set
# CONFIG_MWAVE is not set
# CONFIG_RAW_DRIVER is not set
CONFIG_HPET=y
CONFIG_HPET_MMAP=y
CONFIG_HPET_MMAP_DEFAULT=y
# CONFIG_HANGCHECK_TIMER is not set
# CONFIG_TCG_TPM is not set
# CONFIG_TELCLOCK is not set
CONFIG_DEVPORT=y
# CONFIG_XILLYBUS is not set

#
# I2C support
#
# CONFIG_I2C is not set
# CONFIG_SPI is not set
# CONFIG_SPMI is not set
# CONFIG_HSI is not set

#
# PPS support
#
CONFIG_PPS=y
# CONFIG_PPS_DEBUG is not set
# CONFIG_NTP_PPS is not set

#
# PPS clients support
#
# CONFIG_PPS_CLIENT_KTIMER is not set
# CONFIG_PPS_CLIENT_LDISC is not set
# CONFIG_PPS_CLIENT_GPIO is not set

#
# PPS generators support
#

#
# PTP clock support
#
CONFIG_PTP_1588_CLOCK=y

#
# Enable PHYLIB and NETWORK_PHY_TIMESTAMPING to see the additional clocks.
#
CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y
# CONFIG_GPIOLIB is not set
# CONFIG_W1 is not set
CONFIG_POWER_SUPPLY=y
# CONFIG_POWER_SUPPLY_DEBUG is not set
# CONFIG_PDA_POWER is not set
# CONFIG_TEST_POWER is not set
# CONFIG_BATTERY_DS2780 is not set
# CONFIG_BATTERY_DS2781 is not set
# CONFIG_BATTERY_BQ27XXX is not set
# CONFIG_CHARGER_MAX8903 is not set
# CONFIG_POWER_RESET is not set
# CONFIG_POWER_AVS is not set
# CONFIG_HWMON is not set
CONFIG_THERMAL=y
# CONFIG_THERMAL_WRITABLE_TRIPS is not set
CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE=y
# CONFIG_THERMAL_DEFAULT_GOV_FAIR_SHARE is not set
# CONFIG_THERMAL_DEFAULT_GOV_USER_SPACE is not set
# CONFIG_THERMAL_DEFAULT_GOV_POWER_ALLOCATOR is not set
# CONFIG_THERMAL_GOV_FAIR_SHARE is not set
CONFIG_THERMAL_GOV_STEP_WISE=y
# CONFIG_THERMAL_GOV_BANG_BANG is not set
# CONFIG_THERMAL_GOV_USER_SPACE is not set
# CONFIG_THERMAL_GOV_POWER_ALLOCATOR is not set
# CONFIG_THERMAL_EMULATION is not set
# CONFIG_INTEL_POWERCLAMP is not set
# CONFIG_INTEL_SOC_DTS_THERMAL is not set

#
# ACPI INT340X thermal drivers
#
# CONFIG_INT340X_THERMAL is not set
# CONFIG_INTEL_PCH_THERMAL is not set
# CONFIG_WATCHDOG is not set
CONFIG_SSB_POSSIBLE=y

#
# Sonics Silicon Backplane
#
# CONFIG_SSB is not set
CONFIG_BCMA_POSSIBLE=y

#
# Broadcom specific AMBA
#
# CONFIG_BCMA is not set

#
# Multifunction device drivers
#
# CONFIG_MFD_CORE is not set
# CONFIG_MFD_CROS_EC is not set
# CONFIG_HTC_PASIC3 is not set
# CONFIG_LPC_ICH is not set
# CONFIG_LPC_SCH is not set
# CONFIG_MFD_INTEL_LPSS_ACPI is not set
# CONFIG_MFD_INTEL_LPSS_PCI is not set
# CONFIG_MFD_JANZ_CMODIO is not set
# CONFIG_MFD_KEMPLD is not set
# CONFIG_MFD_MT6397 is not set
# CONFIG_MFD_RDC321X is not set
# CONFIG_MFD_RTSX_PCI is not set
# CONFIG_MFD_SM501 is not set
# CONFIG_ABX500_CORE is not set
# CONFIG_MFD_SYSCON is not set
# CONFIG_MFD_TI_AM335X_TSCADC is not set
# CONFIG_MFD_TMIO is not set
# CONFIG_MFD_VX855 is not set
# CONFIG_REGULATOR is not set
# CONFIG_MEDIA_SUPPORT is not set

#
# Graphics support
#
# CONFIG_AGP is not set
CONFIG_VGA_ARB=y
CONFIG_VGA_ARB_MAX_GPUS=16
# CONFIG_VGA_SWITCHEROO is not set
# CONFIG_DRM is not set

#
# ACP (Audio CoProcessor) Configuration
#

#
# Frame buffer Devices
#
# CONFIG_FB is not set
# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
# CONFIG_VGASTATE is not set

#
# Console display driver support
#
CONFIG_VGA_CONSOLE=y
# CONFIG_VGACON_SOFT_SCROLLBACK is not set
CONFIG_DUMMY_CONSOLE=y
CONFIG_DUMMY_CONSOLE_COLUMNS=80
CONFIG_DUMMY_CONSOLE_ROWS=25
# CONFIG_SOUND is not set

#
# HID support
#
CONFIG_HID=y
# CONFIG_HID_BATTERY_STRENGTH is not set
# CONFIG_HIDRAW is not set
# CONFIG_UHID is not set
CONFIG_HID_GENERIC=y

#
# Special HID drivers
#
# CONFIG_HID_A4TECH is not set
# CONFIG_HID_ACRUX is not set
# CONFIG_HID_APPLE is not set
# CONFIG_HID_AUREAL is not set
# CONFIG_HID_BELKIN is not set
# CONFIG_HID_CHERRY is not set
# CONFIG_HID_CHICONY is not set
# CONFIG_HID_CMEDIA is not set
# CONFIG_HID_CYPRESS is not set
# CONFIG_HID_DRAGONRISE is not set
# CONFIG_HID_EMS_FF is not set
# CONFIG_HID_ELECOM is not set
# CONFIG_HID_EZKEY is not set
# CONFIG_HID_GEMBIRD is not set
# CONFIG_HID_GFRM is not set
# CONFIG_HID_KEYTOUCH is not set
# CONFIG_HID_KYE is not set
# CONFIG_HID_WALTOP is not set
# CONFIG_HID_GYRATION is not set
# CONFIG_HID_ICADE is not set
# CONFIG_HID_TWINHAN is not set
# CONFIG_HID_KENSINGTON is not set
# CONFIG_HID_LCPOWER is not set
# CONFIG_HID_LENOVO is not set
# CONFIG_HID_LOGITECH is not set
# CONFIG_HID_MAGICMOUSE is not set
# CONFIG_HID_MICROSOFT is not set
# CONFIG_HID_MONTEREY is not set
# CONFIG_HID_MULTITOUCH is not set
# CONFIG_HID_ORTEK is not set
# CONFIG_HID_PANTHERLORD is not set
# CONFIG_HID_PETALYNX is not set
# CONFIG_HID_PICOLCD is not set
# CONFIG_HID_PLANTRONICS is not set
# CONFIG_HID_PRIMAX is not set
# CONFIG_HID_SAITEK is not set
# CONFIG_HID_SAMSUNG is not set
# CONFIG_HID_SPEEDLINK is not set
# CONFIG_HID_STEELSERIES is not set
# CONFIG_HID_SUNPLUS is not set
# CONFIG_HID_RMI is not set
# CONFIG_HID_GREENASIA is not set
# CONFIG_HID_SMARTJOYPLUS is not set
# CONFIG_HID_TIVO is not set
# CONFIG_HID_TOPSEED is not set
# CONFIG_HID_THRUSTMASTER is not set
# CONFIG_HID_WACOM is not set
# CONFIG_HID_XINMO is not set
# CONFIG_HID_ZEROPLUS is not set
# CONFIG_HID_ZYDACRON is not set
# CONFIG_HID_SENSOR_HUB is not set
CONFIG_USB_OHCI_LITTLE_ENDIAN=y
# CONFIG_USB_SUPPORT is not set
# CONFIG_UWB is not set
# CONFIG_MMC is not set
# CONFIG_MEMSTICK is not set
# CONFIG_NEW_LEDS is not set
# CONFIG_ACCESSIBILITY is not set
# CONFIG_INFINIBAND is not set
CONFIG_EDAC_ATOMIC_SCRUB=y
CONFIG_EDAC_SUPPORT=y
# CONFIG_EDAC is not set
CONFIG_RTC_LIB=y
# CONFIG_RTC_CLASS is not set
# CONFIG_DMADEVICES is not set

#
# DMABUF options
#
# CONFIG_SYNC_FILE is not set
# CONFIG_AUXDISPLAY is not set
# CONFIG_UIO is not set
CONFIG_VIRT_DRIVERS=y
CONFIG_VIRTIO=y

#
# Virtio drivers
#
CONFIG_VIRTIO_PCI=y
CONFIG_VIRTIO_PCI_LEGACY=y
CONFIG_VIRTIO_BALLOON=y
# CONFIG_VIRTIO_INPUT is not set
CONFIG_VIRTIO_MMIO=y
# CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES is not set

#
# Microsoft Hyper-V guest support
#
# CONFIG_HYPERV is not set
# CONFIG_STAGING is not set
# CONFIG_X86_PLATFORM_DEVICES is not set
# CONFIG_CHROME_PLATFORMS is not set

#
# Hardware Spinlock drivers
#

#
# Clock Source drivers
#
CONFIG_CLKEVT_I8253=y
CONFIG_CLKBLD_I8253=y
# CONFIG_ATMEL_PIT is not set
# CONFIG_SH_TIMER_CMT is not set
# CONFIG_SH_TIMER_MTU2 is not set
# CONFIG_SH_TIMER_TMU is not set
# CONFIG_EM_TIMER_STI is not set
# CONFIG_MAILBOX is not set
# CONFIG_IOMMU_SUPPORT is not set

#
# Remoteproc drivers
#
# CONFIG_STE_MODEM_RPROC is not set

#
# Rpmsg drivers
#

#
# SOC (System On Chip) specific Drivers
#
# CONFIG_SUNXI_SRAM is not set
# CONFIG_SOC_TI is not set
# CONFIG_PM_DEVFREQ is not set
# CONFIG_EXTCON is not set
# CONFIG_MEMORY is not set
# CONFIG_IIO is not set
# CONFIG_NTB is not set
# CONFIG_VME_BUS is not set
# CONFIG_PWM is not set
CONFIG_ARM_GIC_MAX_NR=1
# CONFIG_IPACK_BUS is not set
# CONFIG_RESET_CONTROLLER is not set
# CONFIG_FMC is not set

#
# PHY Subsystem
#
# CONFIG_GENERIC_PHY is not set
# CONFIG_PHY_PXA_28NM_HSIC is not set
# CONFIG_PHY_PXA_28NM_USB2 is not set
# CONFIG_BCM_KONA_USB2_PHY is not set
# CONFIG_POWERCAP is not set
# CONFIG_MCB is not set

#
# Performance monitor support
#
# CONFIG_RAS is not set
# CONFIG_THUNDERBOLT is not set

#
# Android
#
# CONFIG_ANDROID is not set
# CONFIG_LIBNVDIMM is not set
# CONFIG_DEV_DAX is not set
# CONFIG_NVMEM is not set
# CONFIG_STM is not set
# CONFIG_INTEL_TH is not set

#
# FPGA Configuration Support
#
# CONFIG_FPGA is not set

#
# Firmware Drivers
#
# CONFIG_EDD is not set
# CONFIG_FIRMWARE_MEMMAP is not set
# CONFIG_DELL_RBU is not set
# CONFIG_DCDBAS is not set
CONFIG_DMIID=y
# CONFIG_DMI_SYSFS is not set
CONFIG_DMI_SCAN_MACHINE_NON_EFI_FALLBACK=y
# CONFIG_ISCSI_IBFT_FIND is not set
# CONFIG_FW_CFG_SYSFS is not set
# CONFIG_GOOGLE_FIRMWARE is not set

#
# File systems
#
CONFIG_DCACHE_WORD_ACCESS=y
CONFIG_EXT2_FS=y
CONFIG_EXT2_FS_XATTR=y
# CONFIG_EXT2_FS_POSIX_ACL is not set
# CONFIG_EXT2_FS_SECURITY is not set
# CONFIG_EXT3_FS is not set
CONFIG_EXT4_FS=y
CONFIG_EXT4_FS_POSIX_ACL=y
# CONFIG_EXT4_FS_SECURITY is not set
# CONFIG_EXT4_ENCRYPTION is not set
# CONFIG_EXT4_DEBUG is not set
CONFIG_JBD2=y
# CONFIG_JBD2_DEBUG is not set
CONFIG_FS_MBCACHE=y
# CONFIG_REISERFS_FS is not set
# CONFIG_JFS_FS is not set
CONFIG_XFS_FS=y
CONFIG_XFS_QUOTA=y
CONFIG_XFS_POSIX_ACL=y
# CONFIG_XFS_RT is not set
# CONFIG_XFS_WARN is not set
# CONFIG_XFS_DEBUG is not set
# CONFIG_GFS2_FS is not set
# CONFIG_OCFS2_FS is not set
CONFIG_BTRFS_FS=y
CONFIG_BTRFS_FS_POSIX_ACL=y
# CONFIG_BTRFS_FS_CHECK_INTEGRITY is not set
# CONFIG_BTRFS_FS_RUN_SANITY_TESTS is not set
CONFIG_BTRFS_DEBUG=y
# CONFIG_BTRFS_ASSERT is not set
# CONFIG_NILFS2_FS is not set
# CONFIG_F2FS_FS is not set
CONFIG_FS_DAX=y
CONFIG_FS_POSIX_ACL=y
CONFIG_EXPORTFS=y
CONFIG_FILE_LOCKING=y
# CONFIG_MANDATORY_FILE_LOCKING is not set
# CONFIG_FS_ENCRYPTION is not set
CONFIG_FSNOTIFY=y
CONFIG_DNOTIFY=y
CONFIG_INOTIFY_USER=y
CONFIG_FANOTIFY=y
CONFIG_QUOTA=y
# CONFIG_QUOTA_NETLINK_INTERFACE is not set
CONFIG_PRINT_QUOTA_WARNING=y
# CONFIG_QUOTA_DEBUG is not set
CONFIG_QUOTA_TREE=y
# CONFIG_QFMT_V1 is not set
CONFIG_QFMT_V2=y
CONFIG_QUOTACTL=y
CONFIG_QUOTACTL_COMPAT=y
CONFIG_AUTOFS4_FS=y
# CONFIG_FUSE_FS is not set
# CONFIG_OVERLAY_FS is not set

#
# Caches
#
# CONFIG_FSCACHE is not set

#
# CD-ROM/DVD Filesystems
#
# CONFIG_ISO9660_FS is not set
# CONFIG_UDF_FS is not set

#
# DOS/FAT/NT Filesystems
#
# CONFIG_MSDOS_FS is not set
# CONFIG_VFAT_FS is not set
# CONFIG_NTFS_FS is not set

#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
CONFIG_PROC_KCORE=y
CONFIG_PROC_VMCORE=y
CONFIG_PROC_SYSCTL=y
CONFIG_PROC_PAGE_MONITOR=y
CONFIG_PROC_CHILDREN=y
CONFIG_KERNFS=y
CONFIG_SYSFS=y
CONFIG_TMPFS=y
CONFIG_TMPFS_POSIX_ACL=y
CONFIG_TMPFS_XATTR=y
# CONFIG_HUGETLBFS is not set
# CONFIG_HUGETLB_PAGE is not set
CONFIG_CONFIGFS_FS=y
CONFIG_MISC_FILESYSTEMS=y
# CONFIG_ORANGEFS_FS is not set
# CONFIG_ADFS_FS is not set
# CONFIG_AFFS_FS is not set
# CONFIG_ECRYPT_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_HFSPLUS_FS is not set
# CONFIG_BEFS_FS is not set
# CONFIG_BFS_FS is not set
# CONFIG_EFS_FS is not set
# CONFIG_LOGFS is not set
# CONFIG_CRAMFS is not set
# CONFIG_SQUASHFS is not set
# CONFIG_VXFS_FS is not set
# CONFIG_MINIX_FS is not set
# CONFIG_OMFS_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_QNX6FS_FS is not set
# CONFIG_ROMFS_FS is not set
# CONFIG_PSTORE is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS is not set
CONFIG_NETWORK_FILESYSTEMS=y
# CONFIG_NFS_FS is not set
# CONFIG_NFSD is not set
# CONFIG_CEPH_FS is not set
# CONFIG_CIFS is not set
# CONFIG_NCP_FS is not set
# CONFIG_CODA_FS is not set
# CONFIG_AFS_FS is not set
CONFIG_9P_FS=y
CONFIG_9P_FS_POSIX_ACL=y
# CONFIG_9P_FS_SECURITY is not set
CONFIG_NLS=y
CONFIG_NLS_DEFAULT="iso8859-1"
# CONFIG_NLS_CODEPAGE_437 is not set
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
# CONFIG_NLS_CODEPAGE_850 is not set
# CONFIG_NLS_CODEPAGE_852 is not set
# CONFIG_NLS_CODEPAGE_855 is not set
# CONFIG_NLS_CODEPAGE_857 is not set
# CONFIG_NLS_CODEPAGE_860 is not set
# CONFIG_NLS_CODEPAGE_861 is not set
# CONFIG_NLS_CODEPAGE_862 is not set
# CONFIG_NLS_CODEPAGE_863 is not set
# CONFIG_NLS_CODEPAGE_864 is not set
# CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not set
# CONFIG_NLS_CODEPAGE_869 is not set
# CONFIG_NLS_CODEPAGE_936 is not set
# CONFIG_NLS_CODEPAGE_950 is not set
# CONFIG_NLS_CODEPAGE_932 is not set
# CONFIG_NLS_CODEPAGE_949 is not set
# CONFIG_NLS_CODEPAGE_874 is not set
# CONFIG_NLS_ISO8859_8 is not set
# CONFIG_NLS_CODEPAGE_1250 is not set
# CONFIG_NLS_CODEPAGE_1251 is not set
# CONFIG_NLS_ASCII is not set
# CONFIG_NLS_ISO8859_1 is not set
# CONFIG_NLS_ISO8859_2 is not set
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not set
# CONFIG_NLS_ISO8859_5 is not set
# CONFIG_NLS_ISO8859_6 is not set
# CONFIG_NLS_ISO8859_7 is not set
# CONFIG_NLS_ISO8859_9 is not set
# CONFIG_NLS_ISO8859_13 is not set
# CONFIG_NLS_ISO8859_14 is not set
# CONFIG_NLS_ISO8859_15 is not set
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not set
# CONFIG_NLS_MAC_ROMAN is not set
# CONFIG_NLS_MAC_CELTIC is not set
# CONFIG_NLS_MAC_CENTEURO is not set
# CONFIG_NLS_MAC_CROATIAN is not set
# CONFIG_NLS_MAC_CYRILLIC is not set
# CONFIG_NLS_MAC_GAELIC is not set
# CONFIG_NLS_MAC_GREEK is not set
# CONFIG_NLS_MAC_ICELAND is not set
# CONFIG_NLS_MAC_INUIT is not set
# CONFIG_NLS_MAC_ROMANIAN is not set
# CONFIG_NLS_MAC_TURKISH is not set
# CONFIG_NLS_UTF8 is not set
# CONFIG_DLM is not set

#
# Kernel hacking
#
CONFIG_TRACE_IRQFLAGS_SUPPORT=y

#
# printk and dmesg options
#
CONFIG_PRINTK_TIME=y
CONFIG_MESSAGE_LOGLEVEL_DEFAULT=4
# CONFIG_BOOT_PRINTK_DELAY is not set
# CONFIG_DYNAMIC_DEBUG is not set

#
# Compile-time checks and compiler options
#
CONFIG_DEBUG_INFO=y
# CONFIG_DEBUG_INFO_REDUCED is not set
# CONFIG_DEBUG_INFO_SPLIT is not set
CONFIG_DEBUG_INFO_DWARF4=y
# CONFIG_GDB_SCRIPTS is not set
# CONFIG_ENABLE_WARN_DEPRECATED is not set
# CONFIG_ENABLE_MUST_CHECK is not set
CONFIG_FRAME_WARN=1024
# CONFIG_STRIP_ASM_SYMS is not set
# CONFIG_READABLE_ASM is not set
# CONFIG_UNUSED_SYMBOLS is not set
# CONFIG_PAGE_OWNER is not set
CONFIG_DEBUG_FS=y
# CONFIG_HEADERS_CHECK is not set
# CONFIG_DEBUG_SECTION_MISMATCH is not set
# CONFIG_SECTION_MISMATCH_WARN_ONLY is not set
CONFIG_ARCH_WANT_FRAME_POINTERS=y
CONFIG_FRAME_POINTER=y
CONFIG_STACK_VALIDATION=y
# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set
CONFIG_MAGIC_SYSRQ=y
CONFIG_MAGIC_SYSRQ_DEFAULT_ENABLE=0x1
CONFIG_DEBUG_KERNEL=y

#
# Memory Debugging
#
# CONFIG_PAGE_EXTENSION is not set
# CONFIG_DEBUG_PAGEALLOC is not set
# CONFIG_PAGE_POISONING is not set
# CONFIG_DEBUG_PAGE_REF is not set
# CONFIG_DEBUG_OBJECTS is not set
# CONFIG_SLUB_DEBUG_ON is not set
# CONFIG_SLUB_STATS is not set
CONFIG_HAVE_DEBUG_KMEMLEAK=y
# CONFIG_DEBUG_KMEMLEAK is not set
# CONFIG_DEBUG_STACK_USAGE is not set
# CONFIG_DEBUG_VM is not set
# CONFIG_DEBUG_VIRTUAL is not set
# CONFIG_DEBUG_MEMORY_INIT is not set
# CONFIG_DEBUG_PER_CPU_MAPS is not set
CONFIG_HAVE_DEBUG_STACKOVERFLOW=y
# CONFIG_DEBUG_STACKOVERFLOW is not set
CONFIG_HAVE_ARCH_KMEMCHECK=y
CONFIG_HAVE_ARCH_KASAN=y
# CONFIG_KASAN is not set
CONFIG_ARCH_HAS_KCOV=y
# CONFIG_KCOV is not set
# CONFIG_DEBUG_SHIRQ is not set

#
# Debug Lockups and Hangs
#
CONFIG_LOCKUP_DETECTOR=y
CONFIG_HARDLOCKUP_DETECTOR=y
# CONFIG_BOOTPARAM_HARDLOCKUP_PANIC is not set
CONFIG_BOOTPARAM_HARDLOCKUP_PANIC_VALUE=0
# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set
CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0
CONFIG_DETECT_HUNG_TASK=y
CONFIG_DEFAULT_HUNG_TASK_TIMEOUT=60
# CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set
CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0
CONFIG_WQ_WATCHDOG=y
# CONFIG_PANIC_ON_OOPS is not set
CONFIG_PANIC_ON_OOPS_VALUE=0
CONFIG_PANIC_TIMEOUT=0
CONFIG_SCHED_DEBUG=y
# CONFIG_SCHED_INFO is not set
# CONFIG_SCHEDSTATS is not set
# CONFIG_SCHED_STACK_END_CHECK is not set
# CONFIG_DEBUG_TIMEKEEPING is not set
# CONFIG_TIMER_STATS is not set

#
# Lock Debugging (spinlocks, mutexes, etc...)
#
# CONFIG_DEBUG_RT_MUTEXES is not set
CONFIG_DEBUG_SPINLOCK=y
CONFIG_DEBUG_MUTEXES=y
# CONFIG_DEBUG_WW_MUTEX_SLOWPATH is not set
CONFIG_DEBUG_LOCK_ALLOC=y
CONFIG_PROVE_LOCKING=y
CONFIG_LOCKDEP=y
# CONFIG_LOCK_STAT is not set
# CONFIG_DEBUG_LOCKDEP is not set
CONFIG_DEBUG_ATOMIC_SLEEP=y
# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
# CONFIG_LOCK_TORTURE_TEST is not set
CONFIG_TRACE_IRQFLAGS=y
CONFIG_STACKTRACE=y
# CONFIG_DEBUG_KOBJECT is not set
CONFIG_DEBUG_BUGVERBOSE=y
# CONFIG_DEBUG_LIST is not set
# CONFIG_DEBUG_PI_LIST is not set
# CONFIG_DEBUG_SG is not set
# CONFIG_DEBUG_NOTIFIERS is not set
# CONFIG_DEBUG_CREDENTIALS is not set

#
# RCU Debugging
#
CONFIG_PROVE_RCU=y
# CONFIG_PROVE_RCU_REPEATEDLY is not set
# CONFIG_SPARSE_RCU_POINTER is not set
# CONFIG_TORTURE_TEST is not set
# CONFIG_RCU_PERF_TEST is not set
# CONFIG_RCU_TORTURE_TEST is not set
CONFIG_RCU_CPU_STALL_TIMEOUT=21
# CONFIG_RCU_TRACE is not set
# CONFIG_RCU_EQS_DEBUG is not set
# CONFIG_DEBUG_WQ_FORCE_RR_CPU is not set
# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
# CONFIG_CPU_HOTPLUG_STATE_CONTROL is not set
# CONFIG_NOTIFIER_ERROR_INJECTION is not set
# CONFIG_FAULT_INJECTION is not set
# CONFIG_LATENCYTOP is not set
CONFIG_ARCH_HAS_DEBUG_STRICT_USER_COPY_CHECKS=y
# CONFIG_DEBUG_STRICT_USER_COPY_CHECKS is not set
CONFIG_USER_STACKTRACE_SUPPORT=y
CONFIG_NOP_TRACER=y
CONFIG_HAVE_FUNCTION_TRACER=y
CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y
CONFIG_HAVE_FUNCTION_GRAPH_FP_TEST=y
CONFIG_HAVE_DYNAMIC_FTRACE=y
CONFIG_HAVE_DYNAMIC_FTRACE_WITH_REGS=y
CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y
CONFIG_HAVE_SYSCALL_TRACEPOINTS=y
CONFIG_HAVE_FENTRY=y
CONFIG_HAVE_C_RECORDMCOUNT=y
CONFIG_TRACER_MAX_TRACE=y
CONFIG_TRACE_CLOCK=y
CONFIG_RING_BUFFER=y
CONFIG_EVENT_TRACING=y
CONFIG_CONTEXT_SWITCH_TRACER=y
CONFIG_RING_BUFFER_ALLOW_SWAP=y
CONFIG_TRACING=y
CONFIG_GENERIC_TRACER=y
CONFIG_TRACING_SUPPORT=y
CONFIG_FTRACE=y
CONFIG_FUNCTION_TRACER=y
CONFIG_FUNCTION_GRAPH_TRACER=y
CONFIG_IRQSOFF_TRACER=y
CONFIG_SCHED_TRACER=y
CONFIG_FTRACE_SYSCALLS=y
CONFIG_TRACER_SNAPSHOT=y
CONFIG_TRACER_SNAPSHOT_PER_CPU_SWAP=y
CONFIG_BRANCH_PROFILE_NONE=y
# CONFIG_PROFILE_ANNOTATED_BRANCHES is not set
# CONFIG_PROFILE_ALL_BRANCHES is not set
# CONFIG_STACK_TRACER is not set
CONFIG_BLK_DEV_IO_TRACE=y
CONFIG_KPROBE_EVENT=y
# CONFIG_UPROBE_EVENT is not set
CONFIG_PROBE_EVENTS=y
CONFIG_DYNAMIC_FTRACE=y
CONFIG_DYNAMIC_FTRACE_WITH_REGS=y
# CONFIG_FUNCTION_PROFILER is not set
CONFIG_FTRACE_MCOUNT_RECORD=y
# CONFIG_FTRACE_STARTUP_TEST is not set
# CONFIG_MMIOTRACE is not set
# CONFIG_HIST_TRIGGERS is not set
# CONFIG_TRACEPOINT_BENCHMARK is not set
# CONFIG_RING_BUFFER_BENCHMARK is not set
# CONFIG_RING_BUFFER_STARTUP_TEST is not set
# CONFIG_TRACE_ENUM_MAP_FILE is not set

#
# Runtime Testing
#
# CONFIG_LKDTM is not set
# CONFIG_TEST_LIST_SORT is not set
# CONFIG_KPROBES_SANITY_TEST is not set
# CONFIG_BACKTRACE_SELF_TEST is not set
# CONFIG_RBTREE_TEST is not set
# CONFIG_INTERVAL_TREE_TEST is not set
# CONFIG_PERCPU_TEST is not set
# CONFIG_ATOMIC64_SELFTEST is not set
# CONFIG_TEST_HEXDUMP is not set
# CONFIG_TEST_STRING_HELPERS is not set
# CONFIG_TEST_KSTRTOX is not set
# CONFIG_TEST_PRINTF is not set
# CONFIG_TEST_BITMAP is not set
# CONFIG_TEST_UUID is not set
# CONFIG_TEST_RHASHTABLE is not set
# CONFIG_TEST_HASH is not set
# CONFIG_PROVIDE_OHCI1394_DMA_INIT is not set
# CONFIG_DMA_API_DEBUG is not set
# CONFIG_TEST_LKM is not set
# CONFIG_TEST_USER_COPY is not set
# CONFIG_TEST_BPF is not set
# CONFIG_TEST_FIRMWARE is not set
# CONFIG_TEST_UDELAY is not set
# CONFIG_MEMTEST is not set
# CONFIG_TEST_STATIC_KEYS is not set
# CONFIG_SAMPLES is not set
CONFIG_HAVE_ARCH_KGDB=y
# CONFIG_KGDB is not set
CONFIG_ARCH_HAS_UBSAN_SANITIZE_ALL=y
# CONFIG_UBSAN is not set
CONFIG_ARCH_HAS_DEVMEM_IS_ALLOWED=y
# CONFIG_STRICT_DEVMEM is not set
# CONFIG_X86_VERBOSE_BOOTUP is not set
# CONFIG_EARLY_PRINTK is not set
# CONFIG_X86_PTDUMP_CORE is not set
# CONFIG_X86_PTDUMP is not set
# CONFIG_DEBUG_RODATA_TEST is not set
# CONFIG_DEBUG_WX is not set
# CONFIG_DEBUG_SET_MODULE_RONX is not set
# CONFIG_DEBUG_NX_TEST is not set
# CONFIG_DOUBLEFAULT is not set
# CONFIG_DEBUG_TLBFLUSH is not set
# CONFIG_IOMMU_STRESS is not set
CONFIG_HAVE_MMIOTRACE_SUPPORT=y
# CONFIG_X86_DECODER_SELFTEST is not set
CONFIG_IO_DELAY_TYPE_0X80=0
CONFIG_IO_DELAY_TYPE_0XED=1
CONFIG_IO_DELAY_TYPE_UDELAY=2
CONFIG_IO_DELAY_TYPE_NONE=3
CONFIG_IO_DELAY_0X80=y
# CONFIG_IO_DELAY_0XED is not set
# CONFIG_IO_DELAY_UDELAY is not set
# CONFIG_IO_DELAY_NONE is not set
CONFIG_DEFAULT_IO_DELAY_TYPE=0
# CONFIG_DEBUG_BOOT_PARAMS is not set
# CONFIG_CPA_DEBUG is not set
# CONFIG_OPTIMIZE_INLINING is not set
# CONFIG_DEBUG_ENTRY is not set
# CONFIG_DEBUG_NMI_SELFTEST is not set
# CONFIG_X86_DEBUG_FPU is not set
# CONFIG_PUNIT_ATOM_DEBUG is not set

#
# Security options
#
CONFIG_KEYS=y
# CONFIG_PERSISTENT_KEYRINGS is not set
# CONFIG_BIG_KEYS is not set
# CONFIG_ENCRYPTED_KEYS is not set
# CONFIG_KEY_DH_OPERATIONS is not set
# CONFIG_SECURITY_DMESG_RESTRICT is not set
# CONFIG_SECURITY is not set
# CONFIG_SECURITYFS is not set
CONFIG_DEFAULT_SECURITY_DAC=y
CONFIG_DEFAULT_SECURITY=""
CONFIG_XOR_BLOCKS=y
CONFIG_CRYPTO=y

#
# Crypto core or helper
#
CONFIG_CRYPTO_ALGAPI=y
CONFIG_CRYPTO_ALGAPI2=y
CONFIG_CRYPTO_AEAD=m
CONFIG_CRYPTO_AEAD2=y
CONFIG_CRYPTO_BLKCIPHER2=y
CONFIG_CRYPTO_HASH=y
CONFIG_CRYPTO_HASH2=y
CONFIG_CRYPTO_RNG=m
CONFIG_CRYPTO_RNG2=y
CONFIG_CRYPTO_RNG_DEFAULT=m
CONFIG_CRYPTO_AKCIPHER2=y
CONFIG_CRYPTO_AKCIPHER=y
CONFIG_CRYPTO_RSA=y
CONFIG_CRYPTO_MANAGER=y
CONFIG_CRYPTO_MANAGER2=y
# CONFIG_CRYPTO_USER is not set
CONFIG_CRYPTO_MANAGER_DISABLE_TESTS=y
# CONFIG_CRYPTO_GF128MUL is not set
CONFIG_CRYPTO_NULL=m
CONFIG_CRYPTO_NULL2=y
# CONFIG_CRYPTO_PCRYPT is not set
CONFIG_CRYPTO_WORKQUEUE=y
# CONFIG_CRYPTO_CRYPTD is not set
# CONFIG_CRYPTO_MCRYPTD is not set
# CONFIG_CRYPTO_AUTHENC is not set
# CONFIG_CRYPTO_TEST is not set

#
# Authenticated Encryption with Associated Data
#
# CONFIG_CRYPTO_CCM is not set
# CONFIG_CRYPTO_GCM is not set
# CONFIG_CRYPTO_CHACHA20POLY1305 is not set
# CONFIG_CRYPTO_SEQIV is not set
CONFIG_CRYPTO_ECHAINIV=m

#
# Block modes
#
# CONFIG_CRYPTO_CBC is not set
# CONFIG_CRYPTO_CTR is not set
# CONFIG_CRYPTO_CTS is not set
# CONFIG_CRYPTO_ECB is not set
# CONFIG_CRYPTO_LRW is not set
# CONFIG_CRYPTO_PCBC is not set
# CONFIG_CRYPTO_XTS is not set
# CONFIG_CRYPTO_KEYWRAP is not set

#
# Hash modes
#
# CONFIG_CRYPTO_CMAC is not set
CONFIG_CRYPTO_HMAC=m
# CONFIG_CRYPTO_XCBC is not set
# CONFIG_CRYPTO_VMAC is not set

#
# Digest
#
CONFIG_CRYPTO_CRC32C=y
# CONFIG_CRYPTO_CRC32C_INTEL is not set
# CONFIG_CRYPTO_CRC32 is not set
# CONFIG_CRYPTO_CRC32_PCLMUL is not set
# CONFIG_CRYPTO_CRCT10DIF is not set
# CONFIG_CRYPTO_GHASH is not set
# CONFIG_CRYPTO_POLY1305 is not set
# CONFIG_CRYPTO_POLY1305_X86_64 is not set
# CONFIG_CRYPTO_MD4 is not set
# CONFIG_CRYPTO_MD5 is not set
# CONFIG_CRYPTO_MICHAEL_MIC is not set
# CONFIG_CRYPTO_RMD128 is not set
# CONFIG_CRYPTO_RMD160 is not set
# CONFIG_CRYPTO_RMD256 is not set
# CONFIG_CRYPTO_RMD320 is not set
CONFIG_CRYPTO_SHA1=y
# CONFIG_CRYPTO_SHA1_SSSE3 is not set
# CONFIG_CRYPTO_SHA256_SSSE3 is not set
# CONFIG_CRYPTO_SHA512_SSSE3 is not set
# CONFIG_CRYPTO_SHA1_MB is not set
CONFIG_CRYPTO_SHA256=m
# CONFIG_CRYPTO_SHA512 is not set
# CONFIG_CRYPTO_TGR192 is not set
# CONFIG_CRYPTO_WP512 is not set
# CONFIG_CRYPTO_GHASH_CLMUL_NI_INTEL is not set

#
# Ciphers
#
CONFIG_CRYPTO_AES=y
# CONFIG_CRYPTO_AES_X86_64 is not set
# CONFIG_CRYPTO_AES_NI_INTEL is not set
# CONFIG_CRYPTO_ANUBIS is not set
# CONFIG_CRYPTO_ARC4 is not set
# CONFIG_CRYPTO_BLOWFISH is not set
# CONFIG_CRYPTO_BLOWFISH_X86_64 is not set
# CONFIG_CRYPTO_CAMELLIA is not set
# CONFIG_CRYPTO_CAMELLIA_X86_64 is not set
# CONFIG_CRYPTO_CAMELLIA_AESNI_AVX_X86_64 is not set
# CONFIG_CRYPTO_CAMELLIA_AESNI_AVX2_X86_64 is not set
# CONFIG_CRYPTO_CAST5 is not set
# CONFIG_CRYPTO_CAST5_AVX_X86_64 is not set
# CONFIG_CRYPTO_CAST6 is not set
# CONFIG_CRYPTO_CAST6_AVX_X86_64 is not set
# CONFIG_CRYPTO_DES is not set
# CONFIG_CRYPTO_DES3_EDE_X86_64 is not set
# CONFIG_CRYPTO_FCRYPT is not set
# CONFIG_CRYPTO_KHAZAD is not set
# CONFIG_CRYPTO_SALSA20 is not set
# CONFIG_CRYPTO_SALSA20_X86_64 is not set
# CONFIG_CRYPTO_CHACHA20 is not set
# CONFIG_CRYPTO_CHACHA20_X86_64 is not set
# CONFIG_CRYPTO_SEED is not set
# CONFIG_CRYPTO_SERPENT is not set
# CONFIG_CRYPTO_SERPENT_SSE2_X86_64 is not set
# CONFIG_CRYPTO_SERPENT_AVX_X86_64 is not set
# CONFIG_CRYPTO_SERPENT_AVX2_X86_64 is not set
# CONFIG_CRYPTO_TEA is not set
# CONFIG_CRYPTO_TWOFISH is not set
# CONFIG_CRYPTO_TWOFISH_X86_64 is not set
# CONFIG_CRYPTO_TWOFISH_X86_64_3WAY is not set
# CONFIG_CRYPTO_TWOFISH_AVX_X86_64 is not set

#
# Compression
#
# CONFIG_CRYPTO_DEFLATE is not set
# CONFIG_CRYPTO_LZO is not set
# CONFIG_CRYPTO_842 is not set
# CONFIG_CRYPTO_LZ4 is not set
# CONFIG_CRYPTO_LZ4HC is not set

#
# Random Number Generation
#
# CONFIG_CRYPTO_ANSI_CPRNG is not set
CONFIG_CRYPTO_DRBG_MENU=m
CONFIG_CRYPTO_DRBG_HMAC=y
# CONFIG_CRYPTO_DRBG_HASH is not set
# CONFIG_CRYPTO_DRBG_CTR is not set
CONFIG_CRYPTO_DRBG=m
CONFIG_CRYPTO_JITTERENTROPY=m
# CONFIG_CRYPTO_USER_API_HASH is not set
# CONFIG_CRYPTO_USER_API_SKCIPHER is not set
# CONFIG_CRYPTO_USER_API_RNG is not set
# CONFIG_CRYPTO_USER_API_AEAD is not set
CONFIG_CRYPTO_HASH_INFO=y
CONFIG_CRYPTO_HW=y
# CONFIG_CRYPTO_DEV_PADLOCK is not set
# CONFIG_CRYPTO_DEV_CCP is not set
# CONFIG_CRYPTO_DEV_QAT_DH895xCC is not set
# CONFIG_CRYPTO_DEV_QAT_C3XXX is not set
# CONFIG_CRYPTO_DEV_QAT_C62X is not set
# CONFIG_CRYPTO_DEV_QAT_DH895xCCVF is not set
# CONFIG_CRYPTO_DEV_QAT_C3XXXVF is not set
# CONFIG_CRYPTO_DEV_QAT_C62XVF is not set
CONFIG_ASYMMETRIC_KEY_TYPE=y
CONFIG_ASYMMETRIC_PUBLIC_KEY_SUBTYPE=y
CONFIG_X509_CERTIFICATE_PARSER=y
CONFIG_PKCS7_MESSAGE_PARSER=y

#
# Certificates for signature checking
#
CONFIG_SYSTEM_TRUSTED_KEYRING=y
CONFIG_SYSTEM_TRUSTED_KEYS=""
# CONFIG_SYSTEM_EXTRA_CERTIFICATE is not set
# CONFIG_SECONDARY_TRUSTED_KEYRING is not set
CONFIG_HAVE_KVM=y
CONFIG_VIRTUALIZATION=y
# CONFIG_KVM is not set
CONFIG_BINARY_PRINTF=y

#
# Library routines
#
CONFIG_RAID6_PQ=y
CONFIG_BITREVERSE=y
# CONFIG_HAVE_ARCH_BITREVERSE is not set
CONFIG_RATIONAL=y
CONFIG_GENERIC_STRNCPY_FROM_USER=y
CONFIG_GENERIC_STRNLEN_USER=y
CONFIG_GENERIC_NET_UTILS=y
CONFIG_GENERIC_FIND_FIRST_BIT=y
CONFIG_GENERIC_PCI_IOMAP=y
CONFIG_GENERIC_IOMAP=y
CONFIG_GENERIC_IO=y
CONFIG_ARCH_USE_CMPXCHG_LOCKREF=y
CONFIG_ARCH_HAS_FAST_MULTIPLIER=y
# CONFIG_CRC_CCITT is not set
CONFIG_CRC16=y
# CONFIG_CRC_T10DIF is not set
# CONFIG_CRC_ITU_T is not set
CONFIG_CRC32=y
# CONFIG_CRC32_SELFTEST is not set
CONFIG_CRC32_SLICEBY8=y
# CONFIG_CRC32_SLICEBY4 is not set
# CONFIG_CRC32_SARWATE is not set
# CONFIG_CRC32_BIT is not set
# CONFIG_CRC7 is not set
CONFIG_LIBCRC32C=y
# CONFIG_CRC8 is not set
# CONFIG_AUDIT_ARCH_COMPAT_GENERIC is not set
# CONFIG_RANDOM32_SELFTEST is not set
CONFIG_ZLIB_INFLATE=y
CONFIG_ZLIB_DEFLATE=y
CONFIG_LZO_COMPRESS=y
CONFIG_LZO_DECOMPRESS=y
CONFIG_LZ4_DECOMPRESS=y
CONFIG_XZ_DEC=y
CONFIG_XZ_DEC_X86=y
CONFIG_XZ_DEC_POWERPC=y
CONFIG_XZ_DEC_IA64=y
CONFIG_XZ_DEC_ARM=y
CONFIG_XZ_DEC_ARMTHUMB=y
CONFIG_XZ_DEC_SPARC=y
CONFIG_XZ_DEC_BCJ=y
# CONFIG_XZ_DEC_TEST is not set
CONFIG_DECOMPRESS_GZIP=y
CONFIG_DECOMPRESS_BZIP2=y
CONFIG_DECOMPRESS_LZMA=y
CONFIG_DECOMPRESS_XZ=y
CONFIG_DECOMPRESS_LZO=y
CONFIG_DECOMPRESS_LZ4=y
CONFIG_RADIX_TREE_MULTIORDER=y
CONFIG_ASSOCIATIVE_ARRAY=y
CONFIG_HAS_IOMEM=y
CONFIG_HAS_IOPORT_MAP=y
CONFIG_HAS_DMA=y
CONFIG_CPUMASK_OFFSTACK=y
CONFIG_CPU_RMAP=y
CONFIG_DQL=y
CONFIG_NLATTR=y
CONFIG_ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE=y
CONFIG_CLZ_TAB=y
# CONFIG_CORDIC is not set
# CONFIG_DDR is not set
# CONFIG_IRQ_POLL is not set
CONFIG_MPILIB=y
CONFIG_OID_REGISTRY=y
# CONFIG_SG_SPLIT is not set
CONFIG_SG_POOL=y
CONFIG_ARCH_HAS_SG_CHAIN=y
CONFIG_ARCH_HAS_PMEM_API=y
CONFIG_ARCH_HAS_MMIO_FLUSH=y

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

end of thread, other threads:[~2017-03-09  6:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-06 20:31 4.11-rc1 acpi stomping ext4 slabs Nikolay Borisov
2017-03-06 22:35 ` Rafael J. Wysocki
2017-03-07  9:38   ` Nikolay Borisov
2017-03-07 14:33     ` Race condition in ext4 (was Re: 4.11-rc1 acpi stomping ext4 slabs) Nikolay Borisov
2017-03-07 20:40       ` Nikolay Borisov
2017-03-09  1:58         ` Theodore Ts'o
2017-03-09  6:32           ` Nikolay Borisov

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.