Skip to contentSkip to conversation

New: NULL pointer dereference when using z3fold and zswap

Bug 201603 Andrew Morton 2 participants 2 messages Nov 6, 2018 1 message not in the archive Memory management

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]/

Andrew Morton

author maintainer
#1 lore raw

(switched to email. Please respond via emailed reply-to-all, not via the bugzilla web interface).

Quoted 40 lines · On Fri, 02 Nov 2018 10:41:46 +0000 [email protected] wrote:

https://bugzilla.kernel.org/show_bug.cgi?id=201603

Bug ID: 201603
Summary: NULL pointer dereference when using z3fold and zswap
Product: Memory Management
Version: 2.5
Kernel Version: 4.18.16
Hardware: All
OS: Linux
Tree: Mainline
Status: NEW
Severity: high
Priority: P1
Component: Page Allocator
Assignee: [email protected]
Reporter: [email protected]
Regression: No

Created attachment 279297
--> https://bugzilla.kernel.org/attachment.cgi?id=279297&action=edit
dmesg log of crash

This happens mostly during memory pressure but I am not sure how to trigger it reliably. I am attaching the full log.

This is the kernel commandline

Quoted 5 lines

BOOT_IMAGE=../vmlinuz-linux root=UUID=57274b3a-92ab-468e-b03a-06026675c1af rw rd.luks.name=92b4aeb2-fb97-45c1-8a60-2816efe5d57e=home resume=/dev/mapper/home resume_offset=42772480 acpi_backlight=video zswap.enabled=1 zswap.zpool=z3fold zswap.max_pool_percent=5 transparent_hugepage=madvise scsi_mod.use_blk_mq=1 vga=current initrd=../intel-ucode.img,../initramfs-linux.img

I found this bug https://bugzilla.kernel.org/show_bug.cgi?id=198585 to be very similar but the proposed fix has not been merged so I can't be sure if it will fix the issue I am having.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#2 lore raw

Hi,
Den tis 6 nov. 2018 kl 22:48 skrev Andrew Morton <[email protected]

Quoted 32 lines

:

(switched to email. Please respond via emailed reply-to-all, not via the bugzilla web interface).

Quoted 21 lines · On Fri, 02 Nov 2018 10:41:46 +0000 [email protected] wrote:

https://bugzilla.kernel.org/show_bug.cgi?id=201603

Bug ID: 201603
Summary: NULL pointer dereference when using z3fold and zswap
Product: Memory Management
Version: 2.5
Kernel Version: 4.18.16
Hardware: All
OS: Linux
Tree: Mainline
Status: NEW
Severity: high
Priority: P1
Component: Page Allocator
Assignee: [email protected]
Reporter: [email protected]
Regression: No

Created attachment 279297
--> https://bugzilla.kernel.org/attachment.cgi?id=279297&action=edit
dmesg log of crash

Basing on what I see in dmesg, it is highly likely to get fixed by
https://lkml.org/lkml/2018/11/5/726. Could you please apply/retest?

Best regards,
Vitaly

Quoted 26 lines
Quoted 1 line

This happens mostly during memory pressure but I am not sure how to

trigger it

Quoted 5 lines

reliably. I am attaching the full log.

This is the kernel commandline

Quoted 1 line

BOOT_IMAGE=../vmlinuz-linux

root=UUID=57274b3a-92ab-468e-b03a-06026675c1af rw

Quoted 1 line
Quoted 1 line

rd.luks.name=92b4aeb2-fb97-45c1-8a60-2816efe5d57e=home

resume=/dev/mapper/home

Quoted 1 line
Quoted 1 line

resume_offset=42772480 acpi_backlight=video zswap.enabled=1

zswap.zpool=z3fold

Quoted 1 line
Quoted 1 line

zswap.max_pool_percent=5 transparent_hugepage=madvise

scsi_mod.use_blk_mq=1

Quoted 3 lines
Quoted 1 line

vga=current initrd=../intel-ucode.img,../initramfs-linux.img

I found this bug https://bugzilla.kernel.org/show_bug.cgi?id=198585 to

be very

Quoted 1 line

similar but the proposed fix has not been merged so I can't be sure if

it will

Quoted 5 lines

fix the issue I am having.

--
You are receiving this mail because:
You are the assignee for the bug.