Hi All,

I am facing kernel panic issue at 'copy_to_user()' function execution in 
Kernel msm-3.18.
Below are my development environment:

PLATFORM_VERSION_CODENAME=REL
> PLATFORM_VERSION=9
> TARGET_PRODUCT=msm8953_64
> TARGET_BUILD_VARIANT=userdebug
> TARGET_BUILD_TYPE=release
> TARGET_ARCH=arm64
> TARGET_ARCH_VARIANT=armv8-a
> TARGET_CPU_VARIANT=generic
> TARGET_2ND_ARCH=arm
> TARGET_2ND_ARCH_VARIANT=armv8-a
> TARGET_2ND_CPU_VARIANT=cortex-a53
> HOST_ARCH=x86_64
> HOST_2ND_ARCH=x86
> HOST_OS=linux
> HOST_OS_EXTRA=Linux-4.15.0-36-generic-x86_64-Ubuntu-16.04.5-LTS
> HOST_CROSS_OS=windows
> HOST_CROSS_ARCH=x86
> HOST_CROSS_2ND_ARCH=x86_64
> HOST_BUILD_TYPE=release
> BUILD_ID=PKQ1.180819.001
> OUT_DIR=out


Below is the error output:

[   19.998965] Kernel panic - not syncing: Accessing user space memory 
> outside uaccess.h routines


There are HBI drivers in drivers/hbi directory, and in HBI_OPEN case at 
below function kernel panic happens:

ret = copy_from_user(&devcfg,
                    (const void __user*)(openArg.pDevCfg),
                    sizeof(hbi_dev_cfg_t));

Please let me know, if more information require.

If anyone have an idea, please help to solving this issue.

Regards,
Jaymin

-- 
-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

--- 
You received this message because you are subscribed to the Google Groups 
"android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to