This article is relevant only to Veeam Agent for Linux build 5.0.2.4567.
The issue discussed in this article is resolved in Veeam Agent for Linux 6 with the blksnap kernel module.
Shortly after Veeam Agent for Linux creates a veeamsnap snapshot, the system hangs or crashes with a null pointer dereference:
Example of dmesg:
BUG: kernel NULL pointer dereference, address: 0000000000000000 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 8000000003a47067 P4D 8000000003a47067 PUD 3a48067 PMD 0 Oops: 0000 [#1] SMP PTI CPU: 0 PID: 396645 Comm: VeeamService se Kdump: loaded Tainted: G OE 5.10.0-17-amd64 #1 Debian 5.10.136-1
This issue occurs when all 3 of the following are true:
$ sudo tail /proc/kallsyms 0000000000000000 t fuse_open_common [fuse] 0000000000000000 t fuse_flush_writepages [fuse] 0000000000000000 t fuse_fill_super_common [fuse] 0000000000000000 t fuse_simple_background [fuse] 0000000000000000 t fuse_getxattr [fuse] 0000000000000000 r fuse_dentry_operations [fuse] 0000000000000000 t fuse_free_conn [fuse] 0000000000000000 t fuse_write_update_size [fuse] 0000000000000000 t fuse_sync_release [fuse] 0000000000000000 t fuse_direct_io [fuse]
To resolve this, ensure that /proc/kallsyms returns non-zero addresses.
One of the most common ways those values become restricted is through the use of the following sysctl parameters:
To avoid this issue, both parameters must be set to either:
If the values are higher than 1, they must be set to either 0 or 1.
After setting those values, recheck the /proc/kallsyms contents and verify that non-zero addresses are returned:
$ sudo tail /proc/kallsyms ffffffffc01391a0 t fuse_open_common [fuse] ffffffffc013bbd0 t fuse_flush_writepages [fuse] ffffffffc013e930 t fuse_fill_super_common [fuse] ffffffffc012f9f0 t fuse_simple_background [fuse] ffffffffc013fab0 t fuse_getxattr [fuse] ffffffffc01428c0 r fuse_dentry_operations [fuse] ffffffffc013cfb0 t fuse_free_conn [fuse] ffffffffc013a360 t fuse_write_update_size [fuse] ffffffffc0137280 t fuse_sync_release [fuse] ffffffffc01397f0 t fuse_direct_io [fuse]
This form is only for KB Feedback/Suggestions, if you need help with the software open a support case