maccess

package
v0.0.0-...-0958f0d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package maccess provides functionality to check if a certain bug in copy_from_user_nofault is patched.

There were issues with the Linux kernel function copy_from_user_nofault that caused systems to freeze. These issues were fixed with the following patch: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d319f344561de23e810515d109c7278919bff7b0

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyFromUserNoFaultIsPatched

func CopyFromUserNoFaultIsPatched(codeblob []byte,
	faultyFuncAddr uint64, newCheckFuncAddr uint64) (bool, error)

CopyFromUserNoFaultIsPatched tries to find a relative jump instruction in codeblob and returns true if this jump based on faultyFuncAddr points to newCheckFuncAddr.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL