-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for node ACL's #5
Comments
We need to enable CHAP authentication for both session and discovery in gluster block target. That said, as per open iscsi [1], we can configure below parameters. Gluster block should be respecting CHAP authentication if its enabled. Kube will be allowing the users to specify when using ISCSI PV. [1]
|
nigelbabu
pushed a commit
that referenced
this issue
May 2, 2017
This patch add support to enable auth while create. The schematics of authentication setting for/while create, looks like $ gluster-block create block-test/sample-block ha 1 auth enable \ 192.168.0.105 1GiB --json-pretty { "IQN":"iqn.2016-12.org.gluster-block:dc6cca79-f9b7-44f5-acaf-ac81c9cc7c2e", "USERNAME":"dc6cca79-f9b7-44f5-acaf-ac81c9cc7c2e", "PASSWORD":"ae48635a-6902-454c-949a-f2ad0e056086", "PORTAL(S)":[ "192.168.0.105:3260" ], "RESULT":"SUCCESS" } Change-Id: Ib8f5ddd904cb879e0ee05f6a7c3c381c6615a0e4 Fixes: #5 Signed-off-by: Prasanna Kumar Kalever <[email protected]>
nigelbabu
pushed a commit
that referenced
this issue
Jun 6, 2017
This is the asan trace: ==26769==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x602000007b60 at pc 0x7ffff6e9429b bp 0x7ffff1afd800 sp 0x7ffff1afcfa8 WRITE of size 2 at 0x602000007b60 thread T1 #0 0x7ffff6e9429a (/lib64/libasan.so.3+0x5f29a) #1 0x406b64 in removeDuplicateSubstr /root/gluster-block/rpc/block_svc_routines.c:147 #2 0x41ad4c in blockCreateCliFormatResponse /root/gluster-block/rpc/block_svc_routines.c:1570 #3 0x41ff91 in block_create_cli_1_svc /root/gluster-block/rpc/block_svc_routines.c:1826 #4 0x405e63 in gluster_block_cli_1 /root/gluster-block/rpc/rpcl/block_svc.c:132 #5 0x7ffff57d62a0 in svc_getreq_common (/lib64/libc.so.6+0x13a2a0) #6 0x7ffff57d63e6 in svc_getreq_poll (/lib64/libc.so.6+0x13a3e6) #7 0x7ffff57d9d00 in svc_run (/lib64/libc.so.6+0x13dd00) #8 0x403c61 in glusterBlockCliThreadProc /root/gluster-block/daemon/gluster-blockd.c:130 #9 0x7ffff6c1e6c9 in start_thread (/lib64/libpthread.so.0+0x76c9) #10 0x7ffff57a3f6e in clone (/lib64/libc.so.6+0x107f6e) 0x602000007b60 is located 0 bytes to the right of 16-byte region [0x602000007b50,0x602000007b60) allocated by thread T1 here: #0 0x7ffff6efc020 in calloc (/lib64/libasan.so.3+0xc7020) #1 0x42d2c3 in gbAllocN /root/gluster-block/utils/utils.c:194 #2 0x406ae9 in removeDuplicateSubstr /root/gluster-block/rpc/block_svc_routines.c:138 #3 0x41ad4c in blockCreateCliFormatResponse /root/gluster-block/rpc/block_svc_routines.c:1570 #4 0x41ff91 in block_create_cli_1_svc /root/gluster-block/rpc/block_svc_routines.c:1826 #5 0x405e63 in gluster_block_cli_1 /root/gluster-block/rpc/rpcl/block_svc.c:132 #6 0x7ffff57d62a0 in svc_getreq_common (/lib64/libc.so.6+0x13a2a0) #7 0x7ffff5a60a5f (/lib64/libc.so.6+0x3c4a5f) Thread T1 created by T0 here: #0 0x7ffff6e66488 in __interceptor_pthread_create (/lib64/libasan.so.3+0x31488) #1 0x40545f in main /root/gluster-block/daemon/gluster-blockd.c:325 #2 0x7ffff56bc400 in __libc_start_main (/lib64/libc.so.6+0x20400) Change-Id: Id16fa0c00223f7272c3c977efb268ba5d72bd04b Signed-off-by: Pranith Kumar K <[email protected]>
pkalever
pushed a commit
to pkalever/gluster-block
that referenced
this issue
Mar 18, 2019
================================================================= ==11250==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x602000002219 at pc 0x7f4da51871ac bp 0x7f4da07fb17 0 sp 0x7f4da07fa918 READ of size 10 at 0x602000002219 thread T3 #0 0x7f4da51871ab (/lib64/libasan.so.5+0xba1ab) gluster#1 0x470883 in block_create_v2_1_svc_st /root/gluster-block/rpc/block_svc_routines.c:4517 gluster#2 0x481ee2 in block_create_v2_1_svc /root/gluster-block/rpc/block_svc_routines.c:5340 gluster#3 0x40c6cb in gluster_block_1 /root/gluster-block/rpc/rpcl/block_svc.c:99 gluster#4 0x7f4da4ee4198 in svc_getreq_common (/lib64/libtirpc.so.3+0x18198) gluster#5 0x7f4da4ee4336 in svc_getreq_poll (/lib64/libtirpc.so.3+0x18336) gluster#6 0x7f4da4ee6b6d in svc_run (/lib64/libtirpc.so.3+0x1ab6d) gluster#7 0x405d2d in glusterBlockServerThreadProc /root/gluster-block/daemon/gluster-blockd.c:197 gluster#8 0x7f4da50a158d in start_thread (/lib64/libpthread.so.0+0x858d) gluster#9 0x7f4da4e036a2 in clone (/lib64/libc.so.6+0xfd6a2) 0x602000002219 is located 0 bytes to the right of 9-byte region [0x602000002210,0x602000002219) allocated by thread T3 here: #0 0x7f4da51bce10 in calloc (/lib64/libasan.so.5+0xefe10) gluster#1 0x7f4da4eeb18f in xdr_bytes (/lib64/libtirpc.so.3+0x1f18f) Thread T3 created by T0 here: #0 0x7f4da511ff63 in __interceptor_pthread_create (/lib64/libasan.so.5+0x52f63) gluster#1 0x40bbc1 in main /root/gluster-block/daemon/gluster-blockd.c:600 gluster#2 0x7f4da4d2a412 in __libc_start_main (/lib64/libc.so.6+0x24412) SUMMARY: AddressSanitizer: heap-buffer-overflow (/lib64/libasan.so.5+0xba1ab) Signed-off-by: Prasanna Kumar Kalever <[email protected]>
pkalever
pushed a commit
to pkalever/gluster-block
that referenced
this issue
Mar 18, 2019
================================================================= ==11250==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x602000002219 at pc 0x7f4da51871ac bp 0x7f4da07fb17 0 sp 0x7f4da07fa918 READ of size 10 at 0x602000002219 thread T3 #0 0x7f4da51871ab (/lib64/libasan.so.5+0xba1ab) gluster#1 0x470883 in block_create_v2_1_svc_st /root/gluster-block/rpc/block_svc_routines.c:4517 gluster#2 0x481ee2 in block_create_v2_1_svc /root/gluster-block/rpc/block_svc_routines.c:5340 gluster#3 0x40c6cb in gluster_block_1 /root/gluster-block/rpc/rpcl/block_svc.c:99 gluster#4 0x7f4da4ee4198 in svc_getreq_common (/lib64/libtirpc.so.3+0x18198) gluster#5 0x7f4da4ee4336 in svc_getreq_poll (/lib64/libtirpc.so.3+0x18336) gluster#6 0x7f4da4ee6b6d in svc_run (/lib64/libtirpc.so.3+0x1ab6d) gluster#7 0x405d2d in glusterBlockServerThreadProc /root/gluster-block/daemon/gluster-blockd.c:197 gluster#8 0x7f4da50a158d in start_thread (/lib64/libpthread.so.0+0x858d) gluster#9 0x7f4da4e036a2 in clone (/lib64/libc.so.6+0xfd6a2) 0x602000002219 is located 0 bytes to the right of 9-byte region [0x602000002210,0x602000002219) allocated by thread T3 here: #0 0x7f4da51bce10 in calloc (/lib64/libasan.so.5+0xefe10) gluster#1 0x7f4da4eeb18f in xdr_bytes (/lib64/libtirpc.so.3+0x1f18f) Thread T3 created by T0 here: #0 0x7f4da511ff63 in __interceptor_pthread_create (/lib64/libasan.so.5+0x52f63) gluster#1 0x40bbc1 in main /root/gluster-block/daemon/gluster-blockd.c:600 gluster#2 0x7f4da4d2a412 in __libc_start_main (/lib64/libc.so.6+0x24412) SUMMARY: AddressSanitizer: heap-buffer-overflow (/lib64/libasan.so.5+0xba1ab) Signed-off-by: Prasanna Kumar Kalever <[email protected]>
Closed
pkalever
pushed a commit
to pkalever/gluster-block
that referenced
this issue
Mar 25, 2019
================================================================= ==11250==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x602000002219 at pc 0x7f4da51871ac bp 0x7f4da07fb17 0 sp 0x7f4da07fa918 READ of size 10 at 0x602000002219 thread T3 #0 0x7f4da51871ab (/lib64/libasan.so.5+0xba1ab) gluster#1 0x470883 in block_create_v2_1_svc_st /root/gluster-block/rpc/block_svc_routines.c:4517 gluster#2 0x481ee2 in block_create_v2_1_svc /root/gluster-block/rpc/block_svc_routines.c:5340 gluster#3 0x40c6cb in gluster_block_1 /root/gluster-block/rpc/rpcl/block_svc.c:99 gluster#4 0x7f4da4ee4198 in svc_getreq_common (/lib64/libtirpc.so.3+0x18198) gluster#5 0x7f4da4ee4336 in svc_getreq_poll (/lib64/libtirpc.so.3+0x18336) gluster#6 0x7f4da4ee6b6d in svc_run (/lib64/libtirpc.so.3+0x1ab6d) gluster#7 0x405d2d in glusterBlockServerThreadProc /root/gluster-block/daemon/gluster-blockd.c:197 gluster#8 0x7f4da50a158d in start_thread (/lib64/libpthread.so.0+0x858d) gluster#9 0x7f4da4e036a2 in clone (/lib64/libc.so.6+0xfd6a2) 0x602000002219 is located 0 bytes to the right of 9-byte region [0x602000002210,0x602000002219) allocated by thread T3 here: #0 0x7f4da51bce10 in calloc (/lib64/libasan.so.5+0xefe10) gluster#1 0x7f4da4eeb18f in xdr_bytes (/lib64/libtirpc.so.3+0x1f18f) Thread T3 created by T0 here: #0 0x7f4da511ff63 in __interceptor_pthread_create (/lib64/libasan.so.5+0x52f63) gluster#1 0x40bbc1 in main /root/gluster-block/daemon/gluster-blockd.c:600 gluster#2 0x7f4da4d2a412 in __libc_start_main (/lib64/libc.so.6+0x24412) SUMMARY: AddressSanitizer: heap-buffer-overflow (/lib64/libasan.so.5+0xba1ab) Signed-off-by: Prasanna Kumar Kalever <[email protected]>
pkalever
pushed a commit
to pkalever/gluster-block
that referenced
this issue
Mar 26, 2019
================================================================= ==11250==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x602000002219 at pc 0x7f4da51871ac bp 0x7f4da07fb17 0 sp 0x7f4da07fa918 READ of size 10 at 0x602000002219 thread T3 #0 0x7f4da51871ab (/lib64/libasan.so.5+0xba1ab) gluster#1 0x470883 in block_create_v2_1_svc_st /root/gluster-block/rpc/block_svc_routines.c:4517 gluster#2 0x481ee2 in block_create_v2_1_svc /root/gluster-block/rpc/block_svc_routines.c:5340 gluster#3 0x40c6cb in gluster_block_1 /root/gluster-block/rpc/rpcl/block_svc.c:99 gluster#4 0x7f4da4ee4198 in svc_getreq_common (/lib64/libtirpc.so.3+0x18198) gluster#5 0x7f4da4ee4336 in svc_getreq_poll (/lib64/libtirpc.so.3+0x18336) gluster#6 0x7f4da4ee6b6d in svc_run (/lib64/libtirpc.so.3+0x1ab6d) gluster#7 0x405d2d in glusterBlockServerThreadProc /root/gluster-block/daemon/gluster-blockd.c:197 gluster#8 0x7f4da50a158d in start_thread (/lib64/libpthread.so.0+0x858d) gluster#9 0x7f4da4e036a2 in clone (/lib64/libc.so.6+0xfd6a2) 0x602000002219 is located 0 bytes to the right of 9-byte region [0x602000002210,0x602000002219) allocated by thread T3 here: #0 0x7f4da51bce10 in calloc (/lib64/libasan.so.5+0xefe10) gluster#1 0x7f4da4eeb18f in xdr_bytes (/lib64/libtirpc.so.3+0x1f18f) Thread T3 created by T0 here: #0 0x7f4da511ff63 in __interceptor_pthread_create (/lib64/libasan.so.5+0x52f63) gluster#1 0x40bbc1 in main /root/gluster-block/daemon/gluster-blockd.c:600 gluster#2 0x7f4da4d2a412 in __libc_start_main (/lib64/libc.so.6+0x24412) SUMMARY: AddressSanitizer: heap-buffer-overflow (/lib64/libasan.so.5+0xba1ab) Signed-off-by: Prasanna Kumar Kalever <[email protected]>
pkalever
pushed a commit
to pkalever/gluster-block
that referenced
this issue
Mar 26, 2019
================================================================= ==11250==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x602000002219 at pc 0x7f4da51871ac bp 0x7f4da07fb17 0 sp 0x7f4da07fa918 READ of size 10 at 0x602000002219 thread T3 #0 0x7f4da51871ab (/lib64/libasan.so.5+0xba1ab) gluster#1 0x470883 in block_create_v2_1_svc_st /root/gluster-block/rpc/block_svc_routines.c:4517 gluster#2 0x481ee2 in block_create_v2_1_svc /root/gluster-block/rpc/block_svc_routines.c:5340 gluster#3 0x40c6cb in gluster_block_1 /root/gluster-block/rpc/rpcl/block_svc.c:99 gluster#4 0x7f4da4ee4198 in svc_getreq_common (/lib64/libtirpc.so.3+0x18198) gluster#5 0x7f4da4ee4336 in svc_getreq_poll (/lib64/libtirpc.so.3+0x18336) gluster#6 0x7f4da4ee6b6d in svc_run (/lib64/libtirpc.so.3+0x1ab6d) gluster#7 0x405d2d in glusterBlockServerThreadProc /root/gluster-block/daemon/gluster-blockd.c:197 gluster#8 0x7f4da50a158d in start_thread (/lib64/libpthread.so.0+0x858d) gluster#9 0x7f4da4e036a2 in clone (/lib64/libc.so.6+0xfd6a2) 0x602000002219 is located 0 bytes to the right of 9-byte region [0x602000002210,0x602000002219) allocated by thread T3 here: #0 0x7f4da51bce10 in calloc (/lib64/libasan.so.5+0xefe10) gluster#1 0x7f4da4eeb18f in xdr_bytes (/lib64/libtirpc.so.3+0x1f18f) Thread T3 created by T0 here: #0 0x7f4da511ff63 in __interceptor_pthread_create (/lib64/libasan.so.5+0x52f63) gluster#1 0x40bbc1 in main /root/gluster-block/daemon/gluster-blockd.c:600 gluster#2 0x7f4da4d2a412 in __libc_start_main (/lib64/libc.so.6+0x24412) SUMMARY: AddressSanitizer: heap-buffer-overflow (/lib64/libasan.so.5+0xba1ab) Signed-off-by: Prasanna Kumar Kalever <[email protected]>
pkalever
pushed a commit
to pkalever/gluster-block
that referenced
this issue
Mar 26, 2019
================================================================= ==11250==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x602000002219 at pc 0x7f4da51871ac bp 0x7f4da07fb17 0 sp 0x7f4da07fa918 READ of size 10 at 0x602000002219 thread T3 #0 0x7f4da51871ab (/lib64/libasan.so.5+0xba1ab) gluster#1 0x470883 in block_create_v2_1_svc_st /root/gluster-block/rpc/block_svc_routines.c:4517 gluster#2 0x481ee2 in block_create_v2_1_svc /root/gluster-block/rpc/block_svc_routines.c:5340 gluster#3 0x40c6cb in gluster_block_1 /root/gluster-block/rpc/rpcl/block_svc.c:99 gluster#4 0x7f4da4ee4198 in svc_getreq_common (/lib64/libtirpc.so.3+0x18198) gluster#5 0x7f4da4ee4336 in svc_getreq_poll (/lib64/libtirpc.so.3+0x18336) gluster#6 0x7f4da4ee6b6d in svc_run (/lib64/libtirpc.so.3+0x1ab6d) gluster#7 0x405d2d in glusterBlockServerThreadProc /root/gluster-block/daemon/gluster-blockd.c:197 gluster#8 0x7f4da50a158d in start_thread (/lib64/libpthread.so.0+0x858d) gluster#9 0x7f4da4e036a2 in clone (/lib64/libc.so.6+0xfd6a2) 0x602000002219 is located 0 bytes to the right of 9-byte region [0x602000002210,0x602000002219) allocated by thread T3 here: #0 0x7f4da51bce10 in calloc (/lib64/libasan.so.5+0xefe10) gluster#1 0x7f4da4eeb18f in xdr_bytes (/lib64/libtirpc.so.3+0x1f18f) Thread T3 created by T0 here: #0 0x7f4da511ff63 in __interceptor_pthread_create (/lib64/libasan.so.5+0x52f63) gluster#1 0x40bbc1 in main /root/gluster-block/daemon/gluster-blockd.c:600 gluster#2 0x7f4da4d2a412 in __libc_start_main (/lib64/libc.so.6+0x24412) SUMMARY: AddressSanitizer: heap-buffer-overflow (/lib64/libasan.so.5+0xba1ab) Signed-off-by: Prasanna Kumar Kalever <[email protected]>
pkalever
pushed a commit
to pkalever/gluster-block
that referenced
this issue
Mar 26, 2019
================================================================= ==11250==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x602000002219 at pc 0x7f4da51871ac bp 0x7f4da07fb17 0 sp 0x7f4da07fa918 READ of size 10 at 0x602000002219 thread T3 #0 0x7f4da51871ab (/lib64/libasan.so.5+0xba1ab) gluster#1 0x470883 in block_create_v2_1_svc_st /root/gluster-block/rpc/block_svc_routines.c:4517 gluster#2 0x481ee2 in block_create_v2_1_svc /root/gluster-block/rpc/block_svc_routines.c:5340 gluster#3 0x40c6cb in gluster_block_1 /root/gluster-block/rpc/rpcl/block_svc.c:99 gluster#4 0x7f4da4ee4198 in svc_getreq_common (/lib64/libtirpc.so.3+0x18198) gluster#5 0x7f4da4ee4336 in svc_getreq_poll (/lib64/libtirpc.so.3+0x18336) gluster#6 0x7f4da4ee6b6d in svc_run (/lib64/libtirpc.so.3+0x1ab6d) gluster#7 0x405d2d in glusterBlockServerThreadProc /root/gluster-block/daemon/gluster-blockd.c:197 gluster#8 0x7f4da50a158d in start_thread (/lib64/libpthread.so.0+0x858d) gluster#9 0x7f4da4e036a2 in clone (/lib64/libc.so.6+0xfd6a2) 0x602000002219 is located 0 bytes to the right of 9-byte region [0x602000002210,0x602000002219) allocated by thread T3 here: #0 0x7f4da51bce10 in calloc (/lib64/libasan.so.5+0xefe10) gluster#1 0x7f4da4eeb18f in xdr_bytes (/lib64/libtirpc.so.3+0x1f18f) Thread T3 created by T0 here: #0 0x7f4da511ff63 in __interceptor_pthread_create (/lib64/libasan.so.5+0x52f63) gluster#1 0x40bbc1 in main /root/gluster-block/daemon/gluster-blockd.c:600 gluster#2 0x7f4da4d2a412 in __libc_start_main (/lib64/libc.so.6+0x24412) SUMMARY: AddressSanitizer: heap-buffer-overflow (/lib64/libasan.so.5+0xba1ab) Signed-off-by: Prasanna Kumar Kalever <[email protected]>
pkalever
pushed a commit
to pkalever/gluster-block
that referenced
this issue
Mar 28, 2019
================================================================= ==11250==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x602000002219 at pc 0x7f4da51871ac bp 0x7f4da07fb17 0 sp 0x7f4da07fa918 READ of size 10 at 0x602000002219 thread T3 #0 0x7f4da51871ab (/lib64/libasan.so.5+0xba1ab) gluster#1 0x470883 in block_create_v2_1_svc_st /root/gluster-block/rpc/block_svc_routines.c:4517 gluster#2 0x481ee2 in block_create_v2_1_svc /root/gluster-block/rpc/block_svc_routines.c:5340 gluster#3 0x40c6cb in gluster_block_1 /root/gluster-block/rpc/rpcl/block_svc.c:99 gluster#4 0x7f4da4ee4198 in svc_getreq_common (/lib64/libtirpc.so.3+0x18198) gluster#5 0x7f4da4ee4336 in svc_getreq_poll (/lib64/libtirpc.so.3+0x18336) gluster#6 0x7f4da4ee6b6d in svc_run (/lib64/libtirpc.so.3+0x1ab6d) gluster#7 0x405d2d in glusterBlockServerThreadProc /root/gluster-block/daemon/gluster-blockd.c:197 gluster#8 0x7f4da50a158d in start_thread (/lib64/libpthread.so.0+0x858d) gluster#9 0x7f4da4e036a2 in clone (/lib64/libc.so.6+0xfd6a2) 0x602000002219 is located 0 bytes to the right of 9-byte region [0x602000002210,0x602000002219) allocated by thread T3 here: #0 0x7f4da51bce10 in calloc (/lib64/libasan.so.5+0xefe10) gluster#1 0x7f4da4eeb18f in xdr_bytes (/lib64/libtirpc.so.3+0x1f18f) Thread T3 created by T0 here: #0 0x7f4da511ff63 in __interceptor_pthread_create (/lib64/libasan.so.5+0x52f63) gluster#1 0x40bbc1 in main /root/gluster-block/daemon/gluster-blockd.c:600 gluster#2 0x7f4da4d2a412 in __libc_start_main (/lib64/libc.so.6+0x24412) SUMMARY: AddressSanitizer: heap-buffer-overflow (/lib64/libasan.so.5+0xba1ab) Signed-off-by: Prasanna Kumar Kalever <[email protected]>
pkalever
pushed a commit
to pkalever/gluster-block
that referenced
this issue
Apr 15, 2019
================================================================= ==11250==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x602000002219 at pc 0x7f4da51871ac bp 0x7f4da07fb17 0 sp 0x7f4da07fa918 READ of size 10 at 0x602000002219 thread T3 #0 0x7f4da51871ab (/lib64/libasan.so.5+0xba1ab) gluster#1 0x470883 in block_create_v2_1_svc_st /root/gluster-block/rpc/block_svc_routines.c:4517 gluster#2 0x481ee2 in block_create_v2_1_svc /root/gluster-block/rpc/block_svc_routines.c:5340 gluster#3 0x40c6cb in gluster_block_1 /root/gluster-block/rpc/rpcl/block_svc.c:99 gluster#4 0x7f4da4ee4198 in svc_getreq_common (/lib64/libtirpc.so.3+0x18198) gluster#5 0x7f4da4ee4336 in svc_getreq_poll (/lib64/libtirpc.so.3+0x18336) gluster#6 0x7f4da4ee6b6d in svc_run (/lib64/libtirpc.so.3+0x1ab6d) gluster#7 0x405d2d in glusterBlockServerThreadProc /root/gluster-block/daemon/gluster-blockd.c:197 gluster#8 0x7f4da50a158d in start_thread (/lib64/libpthread.so.0+0x858d) gluster#9 0x7f4da4e036a2 in clone (/lib64/libc.so.6+0xfd6a2) 0x602000002219 is located 0 bytes to the right of 9-byte region [0x602000002210,0x602000002219) allocated by thread T3 here: #0 0x7f4da51bce10 in calloc (/lib64/libasan.so.5+0xefe10) gluster#1 0x7f4da4eeb18f in xdr_bytes (/lib64/libtirpc.so.3+0x1f18f) Thread T3 created by T0 here: #0 0x7f4da511ff63 in __interceptor_pthread_create (/lib64/libasan.so.5+0x52f63) gluster#1 0x40bbc1 in main /root/gluster-block/daemon/gluster-blockd.c:600 gluster#2 0x7f4da4d2a412 in __libc_start_main (/lib64/libc.so.6+0x24412) SUMMARY: AddressSanitizer: heap-buffer-overflow (/lib64/libasan.so.5+0xba1ab) Signed-off-by: Prasanna Kumar Kalever <[email protected]>
pkalever
pushed a commit
to pkalever/gluster-block
that referenced
this issue
Apr 15, 2019
==11250==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x602000002219 at pc 0x7f4da51871ac bp 0x7f4da07fb17 0 sp 0x7f4da07fa918 READ of size 10 at 0x602000002219 thread T3 #0 0x7f4da51871ab (/lib64/libasan.so.5+0xba1ab) gluster#1 0x470883 in block_create_v2_1_svc_st /root/gluster-block/rpc/block_svc_routines.c:4517 gluster#2 0x481ee2 in block_create_v2_1_svc /root/gluster-block/rpc/block_svc_routines.c:5340 gluster#3 0x40c6cb in gluster_block_1 /root/gluster-block/rpc/rpcl/block_svc.c:99 gluster#4 0x7f4da4ee4198 in svc_getreq_common (/lib64/libtirpc.so.3+0x18198) gluster#5 0x7f4da4ee4336 in svc_getreq_poll (/lib64/libtirpc.so.3+0x18336) gluster#6 0x7f4da4ee6b6d in svc_run (/lib64/libtirpc.so.3+0x1ab6d) gluster#7 0x405d2d in glusterBlockServerThreadProc /root/gluster-block/daemon/gluster-blockd.c:197 gluster#8 0x7f4da50a158d in start_thread (/lib64/libpthread.so.0+0x858d) gluster#9 0x7f4da4e036a2 in clone (/lib64/libc.so.6+0xfd6a2) 0x602000002219 is located 0 bytes to the right of 9-byte region [0x602000002210,0x602000002219) allocated by thread T3 here: #0 0x7f4da51bce10 in calloc (/lib64/libasan.so.5+0xefe10) gluster#1 0x7f4da4eeb18f in xdr_bytes (/lib64/libtirpc.so.3+0x1f18f) Thread T3 created by T0 here: #0 0x7f4da511ff63 in __interceptor_pthread_create (/lib64/libasan.so.5+0x52f63) gluster#1 0x40bbc1 in main /root/gluster-block/daemon/gluster-blockd.c:600 gluster#2 0x7f4da4d2a412 in __libc_start_main (/lib64/libc.so.6+0x24412) SUMMARY: AddressSanitizer: heap-buffer-overflow (/lib64/libasan.so.5+0xba1ab) Signed-off-by: Prasanna Kumar Kalever <[email protected]> Reviewed-by: Xiubo Li <[email protected]> Reviewed-by: Amar Tumballi <[email protected]>
pkalever
pushed a commit
that referenced
this issue
Apr 15, 2019
==11250==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x602000002219 at pc 0x7f4da51871ac bp 0x7f4da07fb17 0 sp 0x7f4da07fa918 READ of size 10 at 0x602000002219 thread T3 #0 0x7f4da51871ab (/lib64/libasan.so.5+0xba1ab) #1 0x470883 in block_create_v2_1_svc_st /root/gluster-block/rpc/block_svc_routines.c:4517 #2 0x481ee2 in block_create_v2_1_svc /root/gluster-block/rpc/block_svc_routines.c:5340 #3 0x40c6cb in gluster_block_1 /root/gluster-block/rpc/rpcl/block_svc.c:99 #4 0x7f4da4ee4198 in svc_getreq_common (/lib64/libtirpc.so.3+0x18198) #5 0x7f4da4ee4336 in svc_getreq_poll (/lib64/libtirpc.so.3+0x18336) #6 0x7f4da4ee6b6d in svc_run (/lib64/libtirpc.so.3+0x1ab6d) #7 0x405d2d in glusterBlockServerThreadProc /root/gluster-block/daemon/gluster-blockd.c:197 #8 0x7f4da50a158d in start_thread (/lib64/libpthread.so.0+0x858d) #9 0x7f4da4e036a2 in clone (/lib64/libc.so.6+0xfd6a2) 0x602000002219 is located 0 bytes to the right of 9-byte region [0x602000002210,0x602000002219) allocated by thread T3 here: #0 0x7f4da51bce10 in calloc (/lib64/libasan.so.5+0xefe10) #1 0x7f4da4eeb18f in xdr_bytes (/lib64/libtirpc.so.3+0x1f18f) Thread T3 created by T0 here: #0 0x7f4da511ff63 in __interceptor_pthread_create (/lib64/libasan.so.5+0x52f63) #1 0x40bbc1 in main /root/gluster-block/daemon/gluster-blockd.c:600 #2 0x7f4da4d2a412 in __libc_start_main (/lib64/libc.so.6+0x24412) SUMMARY: AddressSanitizer: heap-buffer-overflow (/lib64/libasan.so.5+0xba1ab) Signed-off-by: Prasanna Kumar Kalever <[email protected]> Reviewed-by: Xiubo Li <[email protected]> Reviewed-by: Amar Tumballi <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The current gluster-block model goes with noAUTH, i.e no authentication required for client to login to a target portal.
Hence Node ACL's support must be added.
The text was updated successfully, but these errors were encountered: